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