ok let us try and make this just a minimal set of looks

This commit is contained in:
Stephen Smoogen 2017-06-23 20:03:23 +00:00
parent 53429cf8dd
commit af5ffb55f1

View file

@ -1,7 +1,6 @@
{% for host in groups['all'] %} {% for host in groups['cloud'] %}
{% if hostvars[host].datacenter == 'cloud' %}
define host { define host {
{% if hostvars[host].nagios_Check_Services['nrpe'] == true %} {% if hostvars[host].nagios_Check_Services['nrpe'] == true and nagios_location == 'internal' %}
use defaulttemplate use defaulttemplate
{% else %} {% else %}
use mincheck use mincheck