mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-01 15:38:33 +02:00
upt playbook
This commit is contained in:
13
playbooks/sync_mailu2.yaml
Normal file
13
playbooks/sync_mailu2.yaml
Normal file
@ -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']
|
Reference in New Issue
Block a user