mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
13 lines
341 B
YAML
13 lines
341 B
YAML
|
- 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']
|