a box not on the vpn has a hard time testing for boxes on the vpn
This commit is contained in:
parent
ad28c1fd0b
commit
6e218c7031
2 changed files with 6 additions and 1 deletions
|
@ -467,7 +467,6 @@
|
|||
template: src=nagios/hostgroups/{{item}}.j2 dest=/etc/nagios/hostgroups/{{item}} mode=0644 owner=root group=root
|
||||
with_items:
|
||||
- all-external.cfg
|
||||
- vpnclients.cfg
|
||||
when: nagios_location == "external"
|
||||
tags:
|
||||
- nagios_server
|
||||
|
|
|
@ -18,3 +18,9 @@ define hostgroup {
|
|||
members {% for host in groups["proxies_external"]|sort %} {{ hostvars[host]["inventory_hostname_short"] }}.fedoraproject.org {% if not loop.last %}, {% endif %} {% endfor %}
|
||||
|
||||
}
|
||||
|
||||
define hostgroup {
|
||||
hostgroup_name unbound
|
||||
alias External DNS
|
||||
members {% for host in groups["unbound"]|sort %}{{ host }}{% if not loop.last %}, {% endif %} {% endfor %}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue