From 8098ce7fe90cbd9510a6053f3ef50ca58ebbca09 Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Fri, 20 Jul 2018 23:34:52 +0000 Subject: [PATCH] Ignore newcloud-undercloud and make the check here look a little prettier Signed-off-by: Rick Elrod --- 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 1d58cb7091..50c0d29db4 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()|sort %} -{% if groups[key] != [] and key != 'newcloud-compute' and key != 'newcloud-control' and key != 'newcloud' and key != 'nixnagios' %} +{% if groups[key] != [] and key not in ['newcloud-compute', 'newcloud-control', 'newcloud-undercloud', 'newcloud', 'nixnagios'] %} define hostgroup{ hostgroup_name {{ key }} alias {{ key }}