mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
upt playbook
This commit is contained in:
parent
12f63658d7
commit
3d538d5e03
@ -62,7 +62,8 @@
|
||||
when: inventory_hostname in groups['nas']
|
||||
|
||||
- name: Create archive
|
||||
ansible.builtin.shell: 'tar -czf /share/Data/dockers.tar.gz /share/docker_data/{mailu2,webhub,ha} --exclude="/ha/backups/*" --exclude="home-assistant.log*"'
|
||||
#ansible.builtin.shell: 'tar -czf /share/Data/dockers.tar.gz /share/docker_data/{mailu2,webhub,ha} --exclude="/ha/backups/*" --exclude="home-assistant.log*"'
|
||||
ansible.builtin.shell: 'tar -czf /share/Data/dockers.tar.gz /share/docker_data/mailu2 --exclude="/ha/backups/*" --exclude="home-assistant.log*"'
|
||||
ignore_errors: yes
|
||||
when: inventory_hostname in groups['nas']
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user