and we really should have remembered we solved this months ago

This commit is contained in:
Stephen Smoogen 2017-05-01 19:55:23 +00:00
parent dafcf12b63
commit 0fcbef0842

View file

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