From 163c716fc9d7c17d15c10240c5abf07b86b4190a Mon Sep 17 00:00:00 2001 From: Frank Villaro-Dixon Date: Tue, 22 Oct 2024 15:04:55 +0200 Subject: [PATCH] Fix rsnapshot cfg Signed-off-by: Frank Villaro-Dixon --- ansible/configure-server.yml | 6 ++++++ ansible/files/rsnapshot.conf.j2 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ansible/configure-server.yml b/ansible/configure-server.yml index 08d098c..2af4b30 100644 --- a/ansible/configure-server.yml +++ b/ansible/configure-server.yml @@ -76,6 +76,12 @@ register: rsnapshot_conf tags: rsnapshot + - name: Check rsnapshot config + ansible.builtin.command: + cmd: rsnapshot configtest + register: rsnapshot_configtest + tags: rsnapshot + - name: Copy systemd unit files ansible.builtin.copy: src: files/{{ item }} diff --git a/ansible/files/rsnapshot.conf.j2 b/ansible/files/rsnapshot.conf.j2 index db41ff6..5412c99 100644 --- a/ansible/files/rsnapshot.conf.j2 +++ b/ansible/files/rsnapshot.conf.j2 @@ -235,7 +235,7 @@ backup /mnt/kdrive/ kdrive/ ### kubernetes PVCs -backup /mnt/syno/k8home/ k8home/ +backup /mnt/syno/k8home/ k8home/ # LOCALHOST #backup /home/ localhost/ @@ -265,4 +265,4 @@ backup /mnt/syno/k8home/ k8home/ - +# vim: ts=4:sw=4:noet: \ No newline at end of file