its python not js
This commit is contained in:
parent
c0cd564f66
commit
81f08239e1
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue