nagios / vpnclients: fix typo in previous commit

group was used, but ansible needs groups here.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-09-02 10:28:20 -07:00
parent 9d78be4889
commit d4ad74ae5e

View file

@ -3,7 +3,7 @@
define hostgroup {
hostgroup_name vpnclients
alias vpnclients
members {% for host in groups['all']|sort %}{% if ( hostvars[host].vpn == true ) and ( hostvars[host].nagios_Can_Connect == true ) and (host not in group['ocp_stg', 'ocp']) %}{{host}},{% endif %}{% endfor %}
members {% for host in groups['all']|sort %}{% if ( hostvars[host].vpn == true ) and ( hostvars[host].nagios_Can_Connect == true ) and (host not in groups['ocp_stg', 'ocp']) %}{{host}},{% endif %}{% endfor %}
}
# TODO: Add !bastion02.iad2.fedoraproject.org above when it exists.