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
4f7fe5e6b7
commit
0e65c5b5e3
@ -1,7 +1,7 @@
|
||||
- hosts: nas
|
||||
name: Stop mailu
|
||||
tasks:
|
||||
- name: Stop mailu rhasp
|
||||
- name: Start mailu rhasp
|
||||
uri:
|
||||
url: "http://192.168.77.106:9000/api/stacks/130/start?endpointId=13"
|
||||
method: POST
|
||||
@ -29,7 +29,7 @@
|
||||
- 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*"'
|
||||
ignore_errors: yes
|
||||
|
||||
|
||||
- name: Start mailu main
|
||||
uri:
|
||||
url: "http://192.168.77.106:9000/api/stacks/108/start?endpointId=2"
|
||||
@ -43,7 +43,7 @@
|
||||
register: result
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Start mailu rhasp
|
||||
- name: Stop mailu rhasp
|
||||
uri:
|
||||
url: "http://192.168.77.106:9000/api/stacks/130/stop?endpointId=13"
|
||||
method: POST
|
||||
|
Loading…
x
Reference in New Issue
Block a user