2025-02-10 12:38:40 +00:00
|
|
|
- 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
|
|
|
|
|
2025-02-10 13:04:11 +00:00
|
|
|
- name: Set test MariaBackup apply config configuration
|
2025-02-10 12:38:40 +00:00
|
|
|
template:
|
|
|
|
src: mariabackup/apply.config.sh
|
|
|
|
dest: /root/mariabackup/
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: u=rw,g=,o=
|
|
|
|
|
2025-02-10 13:04:11 +00:00
|
|
|
- name: Set test MariaBackup apply SQL script
|
2025-02-10 12:38:40 +00:00
|
|
|
copy:
|
2025-02-10 12:38:45 +00:00
|
|
|
src: mariabackup/apply.{{db.branch}}.sql
|
2025-02-10 12:38:40 +00:00
|
|
|
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.
|