upt playbook

This commit is contained in:
jaydee 2023-08-20 13:56:03 +02:00
parent 4f7fe5e6b7
commit 0e65c5b5e3

View File

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