upt playbook

This commit is contained in:
jaydee 2023-08-21 10:27:06 +02:00
parent 12f63658d7
commit 3d538d5e03

View File

@ -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']