summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Smoogen <smooge@redhat.com>2017-05-01 19:55:23 +0000
committerStephen Smoogen <smooge@redhat.com>2017-05-01 19:55:23 +0000
commit0fcbef0842aef67b5f0af491b4e4717cfed3e6e0 (patch)
tree679625a470b7b327cbffb909a9b7819afe33e032
parentdafcf12b63078a37f8ad7a08cd7c4d0df0c79eb6 (diff)
downloadansible-0fcbef0842aef67b5f0af491b4e4717cfed3e6e0.tar.gz
ansible-0fcbef0842aef67b5f0af491b4e4717cfed3e6e0.tar.xz
ansible-0fcbef0842aef67b5f0af491b4e4717cfed3e6e0.zip
and we really should have remembered we solved this months ago
-rw-r--r--roles/nagios_server/templates/nagios/hosts/cloud-hosts.cfg.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/nagios_server/templates/nagios/hosts/cloud-hosts.cfg.j2 b/roles/nagios_server/templates/nagios/hosts/cloud-hosts.cfg.j2
index 0e53dc55e..dee66e3b8 100644
--- a/roles/nagios_server/templates/nagios/hosts/cloud-hosts.cfg.j2
+++ b/roles/nagios_server/templates/nagios/hosts/cloud-hosts.cfg.j2
@@ -1,7 +1,7 @@
{% for host in groups['all'] %}
{% if hostvars[host].datacenter == 'cloud' or hostvars[host].datacenter == 'fedorainfracloud' %}
define host {
- use defaulttemplate
+ use mincheck
host_name {{ host }}
{% if hostvars[host].ansible_hostname is defined %}
alias {{ hostvars[host].ansible_hostname }}