mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-03-13 05:42:46 +01:00
build
This commit is contained in:
@@ -40,7 +40,10 @@
|
|||||||
register: proxygroup_check
|
register: proxygroup_check
|
||||||
run_once: true # Run this task only once
|
run_once: true # Run this task only once
|
||||||
|
|
||||||
|
- name: Print proxy_check
|
||||||
|
debug:
|
||||||
|
msg: "{{ proxygroup_check }}"
|
||||||
|
run_once: true # Run this task only once
|
||||||
|
|
||||||
|
|
||||||
- name: Check if proxy exists
|
- name: Check if proxy exists
|
||||||
@@ -59,11 +62,12 @@
|
|||||||
Content-Type: "application/json"
|
Content-Type: "application/json"
|
||||||
Authorization: "Bearer {{ zabbix_auth_token }}"
|
Authorization: "Bearer {{ zabbix_auth_token }}"
|
||||||
register: proxy_check
|
register: proxy_check
|
||||||
|
run_once: true # Run this task only once
|
||||||
|
|
||||||
- name: Print proxy_check
|
- name: Print proxy_check
|
||||||
debug:
|
debug:
|
||||||
msg: "{{ proxy_check }}"
|
msg: "{{ proxy_check }}"
|
||||||
|
run_once: true # Run this task only once
|
||||||
|
|
||||||
- name: Create proxy if not exists
|
- name: Create proxy if not exists
|
||||||
uri:
|
uri:
|
||||||
@@ -90,3 +94,4 @@
|
|||||||
- name: Print proxy_check
|
- name: Print proxy_check
|
||||||
debug:
|
debug:
|
||||||
msg: "{{ proxy_check2 }}"
|
msg: "{{ proxy_check2 }}"
|
||||||
|
run_once: true # Run this task only once
|
||||||
Reference in New Issue
Block a user