try to fix noc playbook

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2020-02-06 15:44:29 +00:00 committed by Pierre-Yves Chibon
parent 998e785a0c
commit 8802e2a98f

View file

@ -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