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
41d0da3c31
commit
87e90f91c2
16
playbooks/sync.yaml
Normal file
16
playbooks/sync.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
name: Stop mailu
|
||||||
|
become: true
|
||||||
|
tasks:
|
||||||
|
- name: Stop 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="
|
||||||
|
|
||||||
|
register: result
|
||||||
|
ignore_errors: yes
|
Loading…
x
Reference in New Issue
Block a user