this one line should fix a mispaste of a bracket
This commit is contained in:
parent
e36f982263
commit
993245267a
1 changed files with 4 additions and 5 deletions
|
@ -1,11 +1,10 @@
|
||||||
## This template currently only works for noc02. If noc01 gets ipv6 then
|
## This template currently only works for noc02. If noc01 gets ipv6 then
|
||||||
## it will need to be revisited.
|
## it will need to be revisited.
|
||||||
|
|
||||||
{% for host in groups['all']|sort %} {%
|
{% for host in groups['all']|sort %}
|
||||||
if hostvars[host].datacenter == 'ibiblio' and
|
{% if hostvars[host].datacenter == 'ibiblio' and hostvars[host].nagios_Can_Connect == true %}
|
||||||
hostvars[host].nagios_Can_Connect == true %} define host { use mincheck
|
define host {
|
||||||
{% endif %}
|
use mincheck
|
||||||
|
|
||||||
host_name {{ host }}-ipv6
|
host_name {{ host }}-ipv6
|
||||||
{% if hostvars[host].ansible_hostname is defined %}
|
{% if hostvars[host].ansible_hostname is defined %}
|
||||||
alias {{ hostvars[host].ansible_hostname }}
|
alias {{ hostvars[host].ansible_hostname }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue