mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 19:42:55 +08:00
committed by
Pierre-Yves Chibon
parent
998e785a0c
commit
8802e2a98f
@@ -1,5 +1,5 @@
|
||||
{% for host in groups['all']|sort %}
|
||||
{% if hostvars[host].datacenter == 'ec2' and hostvars[host].nagios_Check_Services['ping'] == true %}
|
||||
{% for host in groups['ec2']|sort %}
|
||||
{% if hostvars[host].nagios_Check_Services['ping'] %}
|
||||
define host {
|
||||
{% if vars['nagios_location'] == 'internal' %}
|
||||
use defaulttemplate
|
||||
|
||||
Reference in New Issue
Block a user