Renames
This commit is contained in:
parent
704319cff6
commit
bf5c7a526e
|
@ -19,7 +19,7 @@ sapt-labr-prx02 ansible_host=192.168.17.11
|
|||
[monitoring_shrd]
|
||||
sapt-labr-mon01 ansible_host=192.168.17.20
|
||||
|
||||
[vmhost_infra]
|
||||
[proxmox_infra]
|
||||
sapt-labx-pve01 ansible_host=192.168.17.3
|
||||
|
||||
[control_infra]
|
||||
|
@ -51,5 +51,5 @@ staging
|
|||
shared
|
||||
|
||||
[infrastructure:children]
|
||||
vmhost_infra
|
||||
proxmox_infra
|
||||
control_infra
|
||||
|
|
|
@ -17,7 +17,7 @@ ff02::3 ip6-allhosts
|
|||
{% endfor %}
|
||||
{% elif hostname in groups['control_infra'] %}
|
||||
# Static hostnames for VM hosts
|
||||
{% for host in groups['vmhost_infra'] %}
|
||||
{% for host in groups['proxmox_infra'] %}
|
||||
{{ hostvars[host].ansible_host }} {{ hostvars[host].fqdn }}
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in a new issue