ok lets remove these troublesome hosts
This commit is contained in:
parent
3967bdc500
commit
ac9f8f3d66
1 changed files with 3 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
{% for host in groups['cloud'] %}
|
||||
{% if host.startswith('copr') and nagios_location == 'external' %}
|
||||
{% else %}
|
||||
define host {
|
||||
{% if hostvars[host].nagios_Check_Services['nrpe'] == true and nagios_location == 'internal' %}
|
||||
use defaulttemplate
|
||||
|
@ -26,4 +28,5 @@ define host {
|
|||
parents cloud-gw
|
||||
{% endif %}
|
||||
}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue