mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-03-12 21:32:48 +01:00
build
This commit is contained in:
@@ -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