refs #8414 - Add config files for test-db change names
This commit is contained in:
parent
cfcbfbc63e
commit
acbec25d98
|
@ -88,6 +88,8 @@
|
||||||
group: mysql
|
group: mysql
|
||||||
mode: u=rw,g=,o=
|
mode: u=rw,g=,o=
|
||||||
|
|
||||||
|
- when: production is true
|
||||||
|
block:
|
||||||
- name: Set MariaDB custom configuration
|
- name: Set MariaDB custom configuration
|
||||||
copy:
|
copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
|
@ -107,3 +109,23 @@
|
||||||
- /mnt/mysqlbin
|
- /mnt/mysqlbin
|
||||||
- /mnt/local-backup
|
- /mnt/local-backup
|
||||||
Make sure they are correctly configured and accessible.
|
Make sure they are correctly configured and accessible.
|
||||||
|
|
||||||
|
- when: test-db is true
|
||||||
|
block:
|
||||||
|
- name: Set MariaDB custom configuration
|
||||||
|
copy:
|
||||||
|
src: "{{ item }}"
|
||||||
|
dest: /etc/mysql/mariadb.conf.d/
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: u=rw,g=r,o=r
|
||||||
|
with_fileglob:
|
||||||
|
- "files/test*.cnf"
|
||||||
|
notify: restart-mariadb
|
||||||
|
|
||||||
|
- name: Reminder to check mount points
|
||||||
|
debug:
|
||||||
|
msg: |
|
||||||
|
Remember to check the following mount points:
|
||||||
|
- /mnt/mysqltmp
|
||||||
|
Make sure they are correctly configured and accessible.
|
Loading…
Reference in New Issue