diff --git a/roles/nagios_server/templates/nagios/hostgroups/all.cfg.j2 b/roles/nagios_server/templates/nagios/hostgroups/all.cfg.j2 index 69d3f85455..efffe89d94 100644 --- a/roles/nagios_server/templates/nagios/hostgroups/all.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hostgroups/all.cfg.j2 @@ -11,6 +11,7 @@ define hostgroup{ {% if loop.first %} members {{ host }}{% else %}, {{ host }}{% endif %} {% endfor %} + } {% endif %} {% endfor %}