From 14d05f0a9e84b6aa4f338e738788329d374cc6eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Tue, 3 Dec 2024 12:02:51 +0100 Subject: [PATCH] Missing variable prefix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/rabbit/queue/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/rabbit/queue/tasks/main.yml b/roles/rabbit/queue/tasks/main.yml index 9a009b364d..b2d89b934d 100644 --- a/roles/rabbit/queue/tasks/main.yml +++ b/roles/rabbit/queue/tasks/main.yml @@ -95,7 +95,7 @@ - rabbitmq_cluster - name: Monitor the {{ queue_name }} queue in Nagios (NRPE) - when: thresholds and env == "production" + when: queue_thresholds and env == "production" delegate_to: "{{ queue_rabbitmq_server }}" template: src: nrpe.cfg.j2 @@ -109,7 +109,7 @@ - rabbitmq_cluster - name: Monitor the {{ queue_name }} queue in Nagios - when: thresholds and env == "production" + when: queue_thresholds and env == "production" delegate_to: "{{ queue_nagios_server }}" template: src: nagios.cfg.j2