bifrost/playbooks/roles/ironic-enroll-dynamic/defaults/main.yml
Julia Kreger b2c9d301a2 Permit user to define protocol to access IPA
If a user has configured HTTPS in their environment, we should allow
them to have the capacity to choose with the generated URLs, if they
have not already overriden the values via the inventory.

Change-Id: I3bfd233c20fe37519916a2ffb6bb5f49a6e7e62e
2015-12-28 08:56:07 -05:00

18 lines
880 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('-', '_') }}"
# 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_' + ans_network_interface]['ipv4']['address'] }}:{{nginx_port}}/ipa.vmlinuz"
ipa_ramdisk_url: "{{ ipa_file_protocol }}://{{ hostvars[inventory_hostname]['ansible_' + ans_network_interface]['ipv4']['address'] }}:{{nginx_port}}/ipa.initramfs"