mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-03-13 05:42:46 +01:00
build
This commit is contained in:
@@ -240,7 +240,8 @@
|
|||||||
Content-Type: "application/json"
|
Content-Type: "application/json"
|
||||||
Authorization: "Bearer {{ zabbix_auth_token }}"
|
Authorization: "Bearer {{ zabbix_auth_token }}"
|
||||||
register: proxygroup_check
|
register: proxygroup_check
|
||||||
|
delegate_to: localhost # This forces the task to run locally
|
||||||
|
run_once: true
|
||||||
|
|
||||||
- name: Print proxygroup_check
|
- name: Print proxygroup_check
|
||||||
debug:
|
debug:
|
||||||
@@ -264,6 +265,8 @@
|
|||||||
Authorization: "Bearer {{ zabbix_auth_token }}"
|
Authorization: "Bearer {{ zabbix_auth_token }}"
|
||||||
when: proxygroup_check.json.result | length == 0
|
when: proxygroup_check.json.result | length == 0
|
||||||
register: proxygroup_check2
|
register: proxygroup_check2
|
||||||
|
delegate_to: localhost # This forces the task to run locally
|
||||||
|
run_once: true
|
||||||
|
|
||||||
- name: Print proxygroup_check2
|
- name: Print proxygroup_check2
|
||||||
debug:
|
debug:
|
||||||
|
|||||||
Reference in New Issue
Block a user