From 9505fe5d05b4b7a2926144a3b1a5b16e06fe8d3a Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 17 Feb 2026 10:49:25 +0100 Subject: [PATCH] build --- roles/zabbix_proxy/tasks/configure.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/roles/zabbix_proxy/tasks/configure.yml b/roles/zabbix_proxy/tasks/configure.yml index 2424dc4..168fcd3 100644 --- a/roles/zabbix_proxy/tasks/configure.yml +++ b/roles/zabbix_proxy/tasks/configure.yml @@ -17,8 +17,11 @@ register: proxygroup_check run_once: true # Run this task only once - - +- name: Print proxy_check + debug: + msg: "{{ proxygroup_check }}" + run_once: true # Run this task only once + when: proxygroup_check.json.result | length != 0 - name: Create proxy group if not exists uri: @@ -40,7 +43,7 @@ register: proxygroup_check run_once: true # Run this task only once -- name: Print proxy_check +- name: Print proxygroup_check debug: msg: "{{ proxygroup_check }}" run_once: true # Run this task only once