missing endif?

This commit is contained in:
Kevin Fenzi 2017-09-09 19:44:57 +00:00
parent 65e4e081e8
commit 2aebc73ba7

View file

@ -1,5 +1,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 %} {% endfor %}
members {% for host in groups['all'] %}{% if hostvars[host].nagios_Check_Services['swap'] == true %}{{host}}{% if not loop.last %},{% endif %} {% endif %} {% endfor %}
}