vn-ansible/roles/db/tasks/test.yml

40 lines
984 B
YAML
Raw Normal View History

- name: Set test Mariabackup files
copy:
src: mariabackup/bacula-after.sh
dest: /root/mariabackup/
owner: root
group: root
mode: u=rwx,g=rx,o=rx
- name: Set test MariaBackup apply config template configuration
template:
src: mariabackup/apply.config.sh
dest: /root/mariabackup/
owner: root
group: root
mode: u=rw,g=,o=
- name: Set test MariaBackup apply SQL template configuration
copy:
src: mariabackup/apply.{{db.branch}}.sql
dest: /root/mariabackup/apply.sql
owner: root
group: root
mode: u=rw,g=,o=
- name: Set test MariaDB custom configuration
copy:
src: conf/z92-test.cnf
dest: /etc/mysql/mariadb.conf.d/
owner: root
group: root
mode: u=rw,g=r,o=r
notify: restart-mariadb
- name: Reminder to check test mount points environment
debug:
msg: |
Remember to check the following mount points:
- /mnt/mysqltmp
Make sure they are correctly configured and accessible.