refs 8414-Refactor
This commit is contained in:
parent
b0911c4b5e
commit
610d17b51d
|
@ -117,26 +117,15 @@
|
||||||
- "files/mariaconfigfiles/z92-testing.cnf"
|
- "files/mariaconfigfiles/z92-testing.cnf"
|
||||||
notify: restart-mariadb
|
notify: restart-mariadb
|
||||||
|
|
||||||
# - name: Set MariaBackup custom configuration Test
|
|
||||||
# template:
|
|
||||||
# src: "apply.config-test.sh"
|
|
||||||
# dest: /root/mariabackup/apply.config.sh
|
|
||||||
# owner: root
|
|
||||||
# group: root
|
|
||||||
# mode: u=rw,g=r,o=r
|
|
||||||
|
|
||||||
- name: Set MariaBackup custom template configuration Test
|
- name: Set MariaBackup custom template configuration Test
|
||||||
template:
|
template:
|
||||||
src: "{{ item }}"
|
src: test-db/apply.config.sh
|
||||||
dest: /root/mariabackup/
|
dest: /root/mariabackup/
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: u=rw,g=,o=
|
mode: u=rw,g=,o=
|
||||||
with_items:
|
|
||||||
- "test-db/apply.config.sh"
|
|
||||||
- "my.cnf"
|
|
||||||
|
|
||||||
- name: Set MariaDB local configuration file
|
- name: Set MariaDB local configuration file for test-db
|
||||||
copy:
|
copy:
|
||||||
src: files/mariabackuptest/apply.sql
|
src: files/mariabackuptest/apply.sql
|
||||||
dest: /root/mariabackup/
|
dest: /root/mariabackup/
|
||||||
|
@ -153,8 +142,16 @@
|
||||||
|
|
||||||
- name:
|
- name:
|
||||||
template:
|
template:
|
||||||
src: templates/z99-local.cnf
|
src: z99-local.cnf
|
||||||
dest: /etc/mysql/mariadb.conf.d/
|
dest: /etc/mysql/mariadb.conf.d/
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: u=rw,g=r,o=r
|
mode: u=rw,g=r,o=r
|
||||||
|
|
||||||
|
- name: Set MariaBackup custom template configuration Test
|
||||||
|
template:
|
||||||
|
src: "my.cnf"
|
||||||
|
dest: /root/mariabackup/
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: u=rw,g=,o=
|
||||||
|
|
Loading…
Reference in New Issue