From 4df160d1bd4c865a58106349a645850bc63906c8 Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 29 Aug 2023 15:21:46 +0200 Subject: [PATCH] upt playbook --- playbooks/sync_mailu2.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 playbooks/sync_mailu2.yaml diff --git a/playbooks/sync_mailu2.yaml b/playbooks/sync_mailu2.yaml new file mode 100644 index 0000000..e148618 --- /dev/null +++ b/playbooks/sync_mailu2.yaml @@ -0,0 +1,13 @@ +- hosts: containers + name: Stop mailu + ignore_unreachable: false + become: yes + tasks: + - name: Extract + become: yes + become_user: root + ansible.builtin.unarchive: + src: /tmp/dockers-{{ ansible_date_time.date }}.tar.gz + dest: / + remote_src: yes + when: inventory_hostname in groups['raspberry'] \ No newline at end of file