you need an empty line because jinja eats the carriage return and nagios configs cant handle } not being on a line by itself

This commit is contained in:
Stephen Smoogen 2020-07-01 18:25:38 -04:00
parent 35f1746c3f
commit b0c7013f73

View file

@ -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 %}
}