From ea55d8b2648274007e303696b90414b5777acbed Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Mon, 9 Jan 2017 22:40:42 +0000 Subject: [PATCH] what kind of logic world would that have worked? --- 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 51766313f7..47ea5dab9f 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 @@ ############### {% for key, value in groups.iteritems() %} -{% if not groups[key] %} +{% if groups[key] %} define hostgroup{ hostgroup_name {{ key }} alias {{ key }}