bastion02 only vpns when things go bad

This commit is contained in:
Stephen Smoogen 2017-12-01 02:49:05 +00:00
parent eebb019329
commit fa59462ab3

View file

@ -3,6 +3,6 @@
define hostgroup {
hostgroup_name vpnclients
alias vpnclients
members {% for host in groups['all'] %}{% if ( hostvars[host].vpn == true ) and ( hostvars[host].nagios_Check_Services['ping'] == true ) %}{{host}},{% endif %} {% endfor %}
members !bastion02.phx2.fedoraproject.org, {% for host in groups['all'] %}{% if ( hostvars[host].vpn == true ) and ( hostvars[host].nagios_Check_Services['ping'] == true ) %}{{host}},{% endif %} {% endfor %}
}