mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 10:32:27 +08:00
are we using this correctly
This commit is contained in:
@@ -267,3 +267,5 @@ nagios_Check_Services:
|
||||
httpd: false
|
||||
|
||||
|
||||
nagios_NoCheck_Services:
|
||||
vpn: false
|
||||
|
||||
@@ -14,3 +14,6 @@ vpn: true
|
||||
ssh_hostnames:
|
||||
- bastion.fedoraproject.org
|
||||
- bastion02.fedoraproject.org
|
||||
|
||||
nagios_NoCheck_Services:
|
||||
vpn:true
|
||||
|
||||
@@ -11,3 +11,6 @@ eth0_ip: 204.85.14.1
|
||||
eth0_nm: 255.255.255.192
|
||||
eth1_ip: 172.31.1.1
|
||||
eth1_nm: 255.255.255.0
|
||||
|
||||
nagios_NoCheck_Services:
|
||||
vpn:true
|
||||
|
||||
@@ -9,3 +9,6 @@ postfix_group: vpn
|
||||
br0_ip: 204.85.14.4
|
||||
br0_nm: 255.255.255.192
|
||||
vpn: true
|
||||
|
||||
nagios_NoCheck_Services:
|
||||
vpn:true
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
define hostgroup {
|
||||
hostgroup_name vpnclients
|
||||
alias vpnclients
|
||||
members {% for host in groups['all'] %}{% if hostvars[host].vpn %}{{host}},{% endif %} {% endfor %}
|
||||
members {% for host in groups['all'] %}{% if hostvars[host].vpn and (hostvars[host].NoCheckServices['vpn'] == true) %}{{host}},{% endif %} {% endfor %}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user