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
3dfbefee48
commit
1206f7f1fb
@ -55,6 +55,7 @@
|
||||
#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-{{ ansible_date_time.date }}.tar.gz /share/docker_data/mailu2 --exclude="/ha/backups/*" --exclude="home-assistant.log*"'
|
||||
ignore_errors: yes
|
||||
warn: false
|
||||
when: inventory_hostname in groups['nas']
|
||||
|
||||
- name: Start mailu main
|
||||
@ -88,7 +89,7 @@
|
||||
command: service restart_firewall
|
||||
when: inventory_hostname in groups['router']
|
||||
warn: false
|
||||
|
||||
|
||||
- name: Stop mailu rhasp
|
||||
uri:
|
||||
url: "http://192.168.77.106:9000/api/stacks/130/stop?endpointId=13"
|
||||
|
Loading…
x
Reference in New Issue
Block a user