From 94bdce7c682f56247404fafa38c9de1feb7a75a0 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 17 May 2018 22:26:35 +0000 Subject: [PATCH] walking blind, hope there is not a cliff --- roles/nagios_server/templates/nagios/hostgroups/all.cfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nagios_server/templates/nagios/hostgroups/all.cfg.j2 b/roles/nagios_server/templates/nagios/hostgroups/all.cfg.j2 index bdaff56427..ae6017056d 100644 --- a/roles/nagios_server/templates/nagios/hostgroups/all.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hostgroups/all.cfg.j2 @@ -3,7 +3,7 @@ ############### ## {{ env }} {% for key, value in groups.iteritems() %} -{% if groups[key] != [] and groups[key] != 'newcloud-compute' and groups[key] != 'newcloud-control' and groups[key] != 'newcloud' %} +{% if groups[key] != [] and ( groups[key] != 'newcloud-compute' or groups[key] != 'newcloud-control' or groups[key] != 'newcloud' ) %} define hostgroup{ hostgroup_name {{ key }} alias {{ key }}