refs #8414 - adjust bacula-after.sh only in non production

This commit is contained in:
Xavi Lleó 2025-01-29 10:24:14 +01:00
parent d1ec1bc57b
commit fe27a4b2e6
2 changed files with 2 additions and 3 deletions

View File

@ -38,8 +38,7 @@ required_directories:
required_files_and_mariabackup_files_and_root_scripts:
- { src: "mariadb_override.conf", dest: "/etc/systemd/system/mariadb.service.d/override.conf", mode: "u=rw,g=r,o=r" }
- { src: "mysql-flush.sh", dest: "/etc/qemu/fsfreeze-hook.d/mysql-flush.sh", mode: "u=rwx,g=rx,o=rx" }
- { src: "files/mariabackuptest_dev/bacula-after.sh", dest: "/root/mariabackup/bacula-after.sh", mode: "u=rwx,g=rx,o=rx" }
- { src: "mysql-flush.sh", dest: "/etc/qemu/fsfreeze-hook.d/mysql-flush.sh", mode: "u=rwx,g=rx,o=rx" }
- { src: "files/mariabackup/bacula-before.sh", dest: "/root/mariabackup/bacula-before.sh", mode: "u=rwx,g=rx,o=rx" }
- { src: "files/mariabackup/config.sh", dest: "/root/mariabackup/config.sh", mode: "u=rwx,g=rx,o=x" }
- { src: "files/mariabackup/inc-backup.sh", dest: "/root/mariabackup/inc-backup.sh", mode: "u=rwx,g=rx,o=rx" }

View File

@ -129,7 +129,7 @@
- name: Set MariaDB local configuration file for Test-DB-DEV
copy:
src: files/mariabackuptest_dev/apply.sql
src: files/mariabackuptest_dev/*
dest: /root/mariabackup/
owner: root
group: root