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'] %}
{% if hostvars[host].datacenter == 'cloud' %}
{% for host in groups['cloud'] %}
define host {
{% if hostvars[host].nagios_Check_Services['nrpe'] == true %}
{% if hostvars[host].nagios_Check_Services['nrpe'] == true and nagios_location == 'internal' %}
use defaulttemplate
{% else %}
use mincheck