0c1fcb9abe
If the specified network_interface contains a hyphen ansible munches the hostvar key to replace the '-' with a '_'. We fail to do this munging so we are unable to find the correct key. Change-Id: Ied2d859e6cb32fa760597e1b09ee0d757eafa6f7
11 lines
506 B
YAML
11 lines
506 B
YAML
---
|
|
ironic_url: "http://localhost:6385/"
|
|
nginx_port: 8080
|
|
|
|
# Default network interface that bifrost will be attached to.
|
|
network_interface: "virbr0"
|
|
ans_network_interface: "{{ network_interface | replace('-', '_') }}"
|
|
|
|
ipa_kernel_url: "http://{{ hostvars[inventory_hostname]['ansible_' + ans_network_interface]['ipv4']['address'] }}:{{nginx_port}}/ipa.vmlinuz"
|
|
ipa_ramdisk_url: "http://{{ hostvars[inventory_hostname]['ansible_' + ans_network_interface]['ipv4']['address'] }}:{{nginx_port}}/ipa.initramfs"
|