Mark Goddard 133511b466 Improve configuration of Ironic and Ironic inspector
Reuse much of the Bifrost inspector configuration for the main inspector
instance.
2017-03-15 10:19:42 +00:00

26 lines
640 B
Django/Jinja

# {{ ansible_managed }}
[DEFAULT]
enabled_drivers = {{ ironic_drivers | join(',') }}
[conductor]
{% raw %}
api_url = {{ internal_protocol }}://{{ hostvars[inventory_hostname]['ansible_' + provision_interface | replace('-', '_')]['ipv4']['address'] }}:{{ ironic_api_port }}
{% endraw %}
[agent]
deploy_logs_local_path = /var/log/kolla/ironic/deploy
[pxe]
{% raw %}
tftp_server = {{ hostvars[inventory_hostname]['ansible_' + provision_interface | replace('-', '_')]['ipv4']['address'] }}
{% endraw %}
{% if kolla_extra_ironic %}
#######################
# Extra configuration
#######################
{{ kolla_extra_ironic }}
{% endif %}