nagios: don't duplicate the host specifications
Revert "nagios: fix the ibiblio-hosts-ipv6 ifdef"
This reverts commit 4a999c925b
.
This commit is contained in:
parent
8701057445
commit
33ccc11860
1 changed files with 3 additions and 2 deletions
|
@ -5,10 +5,11 @@
|
|||
{% if hostvars[host].datacenter == 'ibiblio' and hostvars[host].nagios_Can_Connect == true %}
|
||||
define host {
|
||||
use mincheck6
|
||||
host_name {{ host }}
|
||||
host_name {{ hostvars[host].ansible_hostname }}-ipv6.fedoraproject.org
|
||||
{% if hostvars[host].ansible_hostname is defined %}
|
||||
alias {{ hostvars[host].ansible_hostname }}-ipv6
|
||||
alias {{ hostvars[host].ansible_hostname }}-ipv6.fedoraproject.org
|
||||
{% else %}
|
||||
alias {{ host }}
|
||||
{% endif %}
|
||||
{% if hostvars[host].eth0_ipv6_ip is defined %}
|
||||
address {{ hostvars[host].eth0_ipv6_ip }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue