mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-10-28 05:07:06 +01:00
build
This commit is contained in:
1 parent
b4a71bc9a0
commit
96b486cb28
1 file changed
+2
-5
@@ -266,16 +266,13 @@
|
|||||||
Content-Type: "application/json"
|
Content-Type: "application/json"
|
||||||
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_check
|
register: proxygroup_check2
|
||||||
run_once: true # Run this task only once
|
run_once: true # Run this task only once
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Print proxygroup_check2
|
- name: Print proxygroup_check2
|
||||||
debug:
|
debug:
|
||||||
msg: "{{ proxygroup_check.json.result[0].proxy_groupid }}"
|
msg: "{{ proxygroup_check.json.result[0].proxy_groupid }}"
|
||||||
|
run_once: true
|
||||||
|
|
||||||
- name: Check if proxy exists
|
- name: Check if proxy exists
|
||||||
uri:
|
uri:
|
||||||
|
|||||||
Reference in new issue
Block a user