mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-03-13 05:42:46 +01:00
build
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
register: proxygroup_check
|
||||
run_once: true # Run this task only once
|
||||
|
||||
|
||||
|
||||
|
||||
- name: Create proxy group if not exists
|
||||
uri:
|
||||
url: "{{ zabbix_api_url }}"
|
||||
@@ -34,7 +37,7 @@
|
||||
Content-Type: "application/json"
|
||||
Authorization: "Bearer {{ zabbix_auth_token }}"
|
||||
when: proxygroup_check.json.result | length == 0
|
||||
register: proxygroup_check2
|
||||
register: proxygroup_check
|
||||
run_once: true # Run this task only once
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user