this one line should fix a mispaste of a bracket

This commit is contained in:
Stephen Smoogen 2022-11-17 12:56:30 -05:00
parent e36f982263
commit 993245267a

View file

@ -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 }}