From 325278ce66745c5f6d1c4d35148c184da7704241 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Mon, 19 Jun 2017 17:56:14 +0000 Subject: [PATCH] reading comprehension is nill today --- .../templates/nagios/hostgroups/all-external.cfg.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/nagios_server/templates/nagios/hostgroups/all-external.cfg.j2 b/roles/nagios_server/templates/nagios/hostgroups/all-external.cfg.j2 index 626d8c32a0..27bd99497a 100644 --- a/roles/nagios_server/templates/nagios/hostgroups/all-external.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hostgroups/all-external.cfg.j2 @@ -1,13 +1,13 @@ define hostgroup { hostgroup_name dnsservers alias DNS Servers - members {% for host in groups["dns"] %} {{ hostvars["host"]["inventory_hostname_short"] }}.fedoraproject.org {% if !loop.last %}, {% endif %} {% endfor %} + members {% for host in groups["dns"] %} {{ hostvars["host"]["inventory_hostname_short"] }}.fedoraproject.org {% if not loop.last %}, {% endif %} {% endfor %} } define hostgroup { hostgroup_name proxies alias Web Servers - members {% for host in groups["proxies"] %} {{ hostvars["host"]["inventory_hostname_short"] }}.fedoraproject.org {% if !loop.last %}, {% endif %} {% endfor %} + members {% for host in groups["proxies"] %} {{ hostvars["host"]["inventory_hostname_short"] }}.fedoraproject.org {% if not loop.last %}, {% endif %} {% endfor %} }