c4e6afae2c
Attempting to support a context where network_interface may be replaced, the variable redefinition appears to not handle the possibility well, and as a result fails. Replaced previously constructed variable with the string replacement on each additional variable that is generated for execution. Change-Id: I6876298e28b6ceea2e226cda7e77317acc05d95c
18 lines
872 B
YAML
18 lines
872 B
YAML
---
|
|
ironic_url: "http://localhost:6385/"
|
|
file_url_port: "8080"
|
|
# Default network interface that bifrost will be attached to.
|
|
network_interface: "virbr0"
|
|
|
|
# Normally this would setting would be http in a bifrost installation
|
|
# without TLS. This setting allows a user to override the setting in case
|
|
# the local webserver has been updated to support HTTPS.
|
|
# Note: Users wishing to leverage HTTPS should reference the iPXE
|
|
# documentation at http://ipxe.org/crypto
|
|
ipa_file_protocol: "http"
|
|
|
|
ipa_kernel_url: "{{ ipa_file_protocol }}://{{ hostvars[inventory_hostname]['ansible_' + network_interface | replace('-', '_')]['ipv4']['address'] }}:{{file_url_port}}/ipa.vmlinuz"
|
|
ipa_ramdisk_url: "{{ ipa_file_protocol }}://{{ hostvars[inventory_hostname]['ansible_' + network_interface | replace('-', '_')]['ipv4']['address'] }}:{{file_url_port}}/ipa.initramfs"
|
|
|
|
noauth_mode: true
|