This commit is contained in:
2026-02-16 02:30:12 +01:00
parent b4a71bc9a0
commit 96b486cb28

View File

@@ -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: