From 1c99386fb9fcb1f90dd2d3b90ad0cc99f2b01475 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Tue, 7 Jan 2020 22:26:32 +0000 Subject: [PATCH] not sure how this works for the nginx.conf template --- roles/nagios_client/templates/check_fedmsg_gateway_proc.cfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nagios_client/templates/check_fedmsg_gateway_proc.cfg.j2 b/roles/nagios_client/templates/check_fedmsg_gateway_proc.cfg.j2 index d7e79ee5d9..fba83393ad 100644 --- a/roles/nagios_client/templates/check_fedmsg_gateway_proc.cfg.j2 +++ b/roles/nagios_client/templates/check_fedmsg_gateway_proc.cfg.j2 @@ -1,4 +1,4 @@ -{% if (( ansible_distribution_major_version == "8" ) and ( ansible_distribution is "RedHat" )) or ((ansible_distribution_major_version|int >= 30) and (ansible_distribution is "Fedora")) %} +{% if (( ansible_distribution_major_version == "8" ) and ( ansible_distribution == "RedHat" )) or ((ansible_distribution_major_version|int >= 30) and (ansible_distribution == "Fedora")) %} command[check_fedmsg_gateway_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-gateway-3' -u fedmsg {% else %} command[check_fedmsg_gateway_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-gateway' -u fedmsg