refs #8414 - minnor changes

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

View File

@ -2,7 +2,7 @@
systemd: systemd:
name: chrony name: chrony
state: restarted state: restarted
- name: reload systemd - name: reload-systemd
command: command:
cmd: systemctl daemon-reload cmd: systemctl daemon-reload
- name: restart-mariadb - name: restart-mariadb

View File

@ -48,7 +48,7 @@
group: root group: root
mode: "{{ item.mode }}" mode: "{{ item.mode }}"
loop: "{{ required_files_and_mariabackup_files_and_root_scripts }}" loop: "{{ required_files_and_mariabackup_files_and_root_scripts }}"
notify: reload systemd notify: reload-systemd
- name: Add tmpfs in /etc/fstab - name: Add tmpfs in /etc/fstab
blockinfile: blockinfile:
@ -129,11 +129,14 @@
- name: Set MariaDB local configuration file for Test-DB-DEV - name: Set MariaDB local configuration file for Test-DB-DEV
copy: copy:
src: files/mariabackuptest_dev/* src: "{{ item }}"
dest: /root/mariabackup/ dest: /root/mariabackup/
owner: root owner: root
group: root group: root
mode: u=rw,g=r,o=r mode: u=rw,g=r,o=r
with_items:
- "mariabackuptest_dev/apply.sql"
- "mariabackuptest_dev/bacula-after.sh"
- name: Reminder to check mount points environment Test-DB-DEV - name: Reminder to check mount points environment Test-DB-DEV
debug: debug: