its python not js

This commit is contained in:
Stephen Smoogen 2017-01-08 23:47:44 +00:00
parent c0cd564f66
commit 81f08239e1

View file

@ -5,6 +5,6 @@
define hostgroup {
hostgroup_name vpnclients
alias vpnclients
members {% for host in groups['all'] %}{% if hostvars[host].vpn == 'true' %}{{host}},{% endif %} {% endfor %}
members {% for host in groups['all'] %}{% if hostvars[host].vpn %}{{host}},{% endif %} {% endfor %}
}