From dbbfa9d6cc6f7c89bc5af21ac63116e36f0621fc Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 9 Sep 2017 20:16:09 +0000 Subject: [PATCH] add it looks like we need a newline here --- roles/nagios_server/templates/nagios/hostgroups/checkswap.cfg.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/nagios_server/templates/nagios/hostgroups/checkswap.cfg.j2 b/roles/nagios_server/templates/nagios/hostgroups/checkswap.cfg.j2 index a32d637ce1..b133ee01d4 100644 --- a/roles/nagios_server/templates/nagios/hostgroups/checkswap.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hostgroups/checkswap.cfg.j2 @@ -2,4 +2,5 @@ define hostgroup { hostgroup_name CheckSwap alias Swap-Is-Low members {% for host in groups['all'] %}{% if hostvars[host].nagios_Check_Services['swap'] == true %}{{host}}{% if not loop.last %},{% endif %} {% endif %} {% endfor %} + }