From 3ed6499017c826405ebe8397fccc102e1632a62d Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 28 Aug 2023 15:34:13 +0200 Subject: [PATCH] upt playbook --- playbooks/sync_mailu.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/playbooks/sync_mailu.yaml b/playbooks/sync_mailu.yaml index 91555a2..ae7697d 100644 --- a/playbooks/sync_mailu.yaml +++ b/playbooks/sync_mailu.yaml @@ -1,5 +1,6 @@ - hosts: containers name: Stop mailu + ignore_unreachable: false tasks: - name: Start mailu rasp uri: @@ -100,4 +101,7 @@ ignore_errors: yes when: inventory_hostname in groups['nas'] - \ No newline at end of file + - name: Copy archive + ansible.builtin.shell: 'scp /share/Data/dockers-{{ ansible_date_time.date }}.tar.gz jaydee@192.168.77.246/share/' + ignore_errors: yes + when: inventory_hostname in groups['nas'] \ No newline at end of file