This commit is contained in:
2026-02-17 10:43:32 +01:00
parent aeb4713f26
commit 27ae113356

View File

@@ -17,6 +17,9 @@
register: proxygroup_check register: proxygroup_check
run_once: true # Run this task only once run_once: true # Run this task only once
- name: Create proxy group if not exists - name: Create proxy group if not exists
uri: uri:
url: "{{ zabbix_api_url }}" url: "{{ zabbix_api_url }}"
@@ -34,7 +37,7 @@
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_check2 register: proxygroup_check
run_once: true # Run this task only once run_once: true # Run this task only once