You've already forked role-check-mk-agent
Proper role testing
This commit is contained in:
@@ -14,17 +14,17 @@
|
||||
- name: Delete Host
|
||||
uri:
|
||||
method: POST
|
||||
url: http://{{ cmk_omd_host }}/{{ cmk_omd_site }}/check_mk/webapi.py?action=delete_host{{ cmk_auth }}
|
||||
url: https://{{ cmk_omd_host }}/{{ cmk_omd_site }}/check_mk/webapi.py?action=delete_host{{ cmk_auth }}
|
||||
body: 'request={"hostname":"{{ item.name }}"}'
|
||||
body_format: raw
|
||||
status_code: 200
|
||||
no_log: true
|
||||
no_log: False
|
||||
with_items: "{{ molecule_yml.platforms }}"
|
||||
|
||||
- name: cmk_apply
|
||||
uri:
|
||||
method: POST
|
||||
url: http://{{ cmk_omd_host }}/{{ cmk_omd_site }}/check_mk/webapi.py?action=activate_changes&mode=specific{{ cmk_auth }}
|
||||
url: https://{{ cmk_omd_host }}/{{ cmk_omd_site }}/check_mk/webapi.py?action=activate_changes&mode=specific{{ cmk_auth }}
|
||||
body: 'request={"sites":["{{ cmk_omd_site }}"]}'
|
||||
body_format: raw
|
||||
status_code: 200
|
||||
Reference in New Issue
Block a user