try to fix noc playbook
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
998e785a0c
commit
8802e2a98f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue