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