This commit is contained in:
2026-02-16 02:16:11 +01:00
parent 9b4801ef32
commit 9454a18edc

View File

@@ -241,13 +241,14 @@
Authorization: "Bearer {{ zabbix_auth_token }}" Authorization: "Bearer {{ zabbix_auth_token }}"
register: proxygroup_check register: proxygroup_check
run_once: true # Run this task only once run_once: true # Run this task only once
- name: Print proxygroup_check - name: Print proxygroup_check
debug: debug:
msg: "{{ proxygroup_check }}" msg: "{{ proxygroup_check }}"
- name: Print proxygroup_check - name: Print proxygroup_check
debug: debug:
msg: "{{ (proxygroup_check| from_json).result[0].proxy_groupid }}" msg: "{{ proxygroup_check.json }}"
- name: Create proxy if not exists - name: Create proxy if not exists
uri: uri: