2f2387fc3b
This has been dropped upstream in Ironic [1]. [1] https://review.opendev.org/c/openstack/ironic/+/850240 Change-Id: Ib95cdadb00a84edbf6d17de1c2bd450c002e798e
41 lines
1.5 KiB
Django/Jinja
41 lines
1.5 KiB
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
[DEFAULT]
|
|
enabled_hardware_types: {{ kolla_ironic_enabled_hardware_types | join(',') }}
|
|
|
|
{# Add configuration of enabled and default dynamic driver interfaces. #}
|
|
{% set interfaces=['boot', 'bios', 'console', 'deploy', 'inspect', 'management',
|
|
'network', 'power', 'raid', 'rescue', 'storage', 'vendor'] %}
|
|
{% for interface in interfaces %}
|
|
{% if hostvars[inventory_hostname]['kolla_ironic_enabled_' ~ interface ~ '_interfaces'] | default %}
|
|
{{ 'enabled_' ~ interface ~ '_interfaces' }} = {{ hostvars[inventory_hostname]['kolla_ironic_enabled_' ~ interface ~ '_interfaces'] | join(',') }}
|
|
{% endif %}
|
|
{% if hostvars[inventory_hostname]['kolla_ironic_default_' ~ interface ~ '_interface'] | default %}
|
|
{{ 'default_' ~ interface ~ '_interface' }} = {{ hostvars[inventory_hostname]['kolla_ironic_default_' ~ interface ~ '_interface'] }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
[agent]
|
|
deploy_logs_local_path = /var/log/kolla/ironic/deploy
|
|
|
|
[neutron]
|
|
cleaning_network = {{ kolla_ironic_cleaning_network }}
|
|
provisioning_network = {{ kolla_ironic_provisioning_network }}
|
|
|
|
[pxe]
|
|
{% if kolla_ironic_pxe_append_params %}
|
|
kernel_append_params = {{ kolla_ironic_pxe_append_params | join(' ') }}
|
|
{% endif %}
|
|
|
|
{% raw %}
|
|
tftp_server = {{ hostvars[inventory_hostname].ansible_facts[api_interface | replace('-', '_')]['ipv4']['address'] }}
|
|
{% endraw %}
|
|
|
|
{% if kolla_extra_ironic %}
|
|
#######################
|
|
# Extra configuration
|
|
#######################
|
|
|
|
{{ kolla_extra_ironic }}
|
|
{% endif %}
|