Missing variable prefix

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-12-03 12:02:51 +01:00
parent 1a962c0d71
commit 14d05f0a9e
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -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