mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 12:01:17 +08:00
ok let us try and make this just a minimal set of looks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user