2023-08-14 14:59:39 +02:00
|
|
|
- hosts: nas
|
2023-08-14 14:47:44 +02:00
|
|
|
name: Stop mailu
|
|
|
|
tasks:
|
|
|
|
- name: Stop mailu
|
|
|
|
uri:
|
2023-08-14 15:10:18 +02:00
|
|
|
url: "http://192.168.77.106:9000/api/stacks/130/stop?endpointId=13"
|
2023-08-14 14:47:44 +02:00
|
|
|
method: POST
|
|
|
|
body_format: form-urlencoded
|
|
|
|
return_content: yes
|
|
|
|
headers:
|
|
|
|
Content-Type: "application/json"
|
|
|
|
X-API-Key: "ptr_DfS2M6Fj2P3fVvYpkhE0KJh2UGCzY47ePaFaLqadsjg="
|
2023-08-14 15:12:20 +02:00
|
|
|
timeout: 60
|
2023-08-14 14:47:44 +02:00
|
|
|
register: result
|
2023-08-19 20:52:00 +02:00
|
|
|
ignore_errors: yes
|
|
|
|
- name: Start mailu
|
|
|
|
uri:
|
|
|
|
url: "http://192.168.77.106:9000/api/stacks/130/start?endpointId=13"
|
|
|
|
method: POST
|
|
|
|
body_format: form-urlencoded
|
|
|
|
return_content: yes
|
|
|
|
headers:
|
|
|
|
Content-Type: "application/json"
|
|
|
|
X-API-Key: "ptr_DfS2M6Fj2P3fVvYpkhE0KJh2UGCzY47ePaFaLqadsjg="
|
|
|
|
timeout: 60
|
|
|
|
register: result
|
|
|
|
ignore_errors: yes
|
|
|
|
|
|
|
|
|