mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 04:22:18 +08:00
nope didnt work
This commit is contained in:
@@ -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 %}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user