From b0c7013f7332a867fc9d21fed25cdbf0090484c4 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Wed, 1 Jul 2020 18:25:38 -0400 Subject: [PATCH] you need an empty line because jinja eats the carriage return and nagios configs cant handle } not being on a line by itself --- .../templates/nagios/hostgroups/all-external.cfg.j2 | 1 + 1 file changed, 1 insertion(+) 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 2e566acc8e..d369ddd598 100644 --- a/roles/nagios_server/templates/nagios/hostgroups/all-external.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hostgroups/all-external.cfg.j2 @@ -23,4 +23,5 @@ define hostgroup { hostgroup_name unbound alias External DNS members {% for host in groups["unbound"]|sort %}{{ host }}{% if not loop.last %}, {% endif %} {% endfor %} + }