ansible/playbooks/sync_mailu2.yaml

13 lines
341 B
YAML
Raw Normal View History

2023-08-29 15:21:46 +02:00
- 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']