mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-03-12 21:32:48 +01:00
build
This commit is contained in:
@@ -245,12 +245,14 @@
|
||||
- name: Print proxygroup_check
|
||||
debug:
|
||||
msg: "{{ proxygroup_check }}"
|
||||
|
||||
run_once: true
|
||||
|
||||
- name: Print proxygroup_check
|
||||
debug:
|
||||
msg: "{{ proxygroup_check.json.result[0].proxy_groupid }}"
|
||||
|
||||
- name: Create proxy if not exists
|
||||
run_once: true
|
||||
|
||||
- name: Create proxy group if not exists
|
||||
uri:
|
||||
url: "{{ zabbix_api_url }}"
|
||||
method: POST
|
||||
@@ -270,6 +272,9 @@
|
||||
register: proxygroup_check
|
||||
run_once: true # Run this task only once
|
||||
|
||||
|
||||
|
||||
|
||||
- name: Print proxygroup_check
|
||||
debug:
|
||||
msg: "{{ proxygroup_check.json.result.proxy_groupids[0] }}"
|
||||
|
||||
Reference in New Issue
Block a user