refs #8414 - Better define in Name sections to know environment
This commit is contained in:
parent
315280665a
commit
e95b64e96f
|
@ -106,7 +106,7 @@
|
||||||
|
|
||||||
- when: testdb is true
|
- when: testdb is true
|
||||||
block:
|
block:
|
||||||
- name: Set MariaDB custom configuration Test
|
- name: Set MariaDB custom configuration Test-DB
|
||||||
copy:
|
copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: /etc/mysql/mariadb.conf.d/
|
dest: /etc/mysql/mariadb.conf.d/
|
||||||
|
@ -118,7 +118,7 @@
|
||||||
- "files/mariaconfigfiles/z92-testing.cnf"
|
- "files/mariaconfigfiles/z92-testing.cnf"
|
||||||
notify: restart-mariadb
|
notify: restart-mariadb
|
||||||
|
|
||||||
- name: Set MariaBackup custom template configuration Test
|
- name: Set MariaBackup custom template configuration Test-DB
|
||||||
template:
|
template:
|
||||||
src: test-db/apply.config.sh
|
src: test-db/apply.config.sh
|
||||||
dest: /root/mariabackup/
|
dest: /root/mariabackup/
|
||||||
|
@ -126,7 +126,7 @@
|
||||||
group: root
|
group: root
|
||||||
mode: u=rw,g=,o=
|
mode: u=rw,g=,o=
|
||||||
|
|
||||||
- name: Set MariaDB local configuration file for test-db
|
- 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/
|
||||||
|
@ -134,14 +134,14 @@
|
||||||
group: root
|
group: root
|
||||||
mode: u=rw,g=r,o=r
|
mode: u=rw,g=r,o=r
|
||||||
|
|
||||||
- name: Reminder to check mount points environment test
|
- name: Reminder to check mount points environment Test-DB
|
||||||
debug:
|
debug:
|
||||||
msg: |
|
msg: |
|
||||||
Remember to check the following mount points:
|
Remember to check the following mount points:
|
||||||
- /mnt/mysqltmp
|
- /mnt/mysqltmp
|
||||||
Make sure they are correctly configured and accessible.
|
Make sure they are correctly configured and accessible.
|
||||||
|
|
||||||
- name: Set Custom Configuration local template
|
- name: Set Custom Configuration local template all Environment
|
||||||
template:
|
template:
|
||||||
src: z99-local.cnf
|
src: z99-local.cnf
|
||||||
dest: /etc/mysql/mariadb.conf.d/
|
dest: /etc/mysql/mariadb.conf.d/
|
||||||
|
@ -149,7 +149,7 @@
|
||||||
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
|
- name: Set MariaBackup custom template configuration all Environment
|
||||||
template:
|
template:
|
||||||
src: "my.cnf"
|
src: "my.cnf"
|
||||||
dest: /root/mariabackup/
|
dest: /root/mariabackup/
|
||||||
|
|
Loading…
Reference in New Issue