mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 19:42:55 +08:00
and we really should have remembered we solved this months ago
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user