nope didnt work

This commit is contained in:
Stephen Smoogen 2017-05-02 20:35:36 +00:00
parent 4fe3c32236
commit d91c270696

View file

@ -3,6 +3,6 @@
define hostgroup {
hostgroup_name vpnclients
alias vpnclients
members {% for host in groups['all'] %}{% if hostvars[host].vpn and (hostvars[host].nagios_NoCheck_Services['vpn'] == true) %}{{host}},{% endif %} {% endfor %}
members {% for host in groups['all'] %}{% if ( hostvars[host].vpn is defined ) and (hostvars[host].nagios_NoCheck_Services['vpn'] == true) %}{{host}},{% endif %} {% endfor %}
}