Add support for free-form configuration of heat
This commit is contained in:
parent
a451ce4142
commit
f43ac2e0be
@ -81,6 +81,7 @@
|
||||
register: stat_result
|
||||
with_items:
|
||||
- { name: glance, file: glance.conf }
|
||||
- { name: heat, file: heat.conf }
|
||||
- { name: inspector, file: ironic-inspector.conf }
|
||||
- { name: ironic, file: ironic.conf }
|
||||
- { name: ironic_dnsmasq, file: ironic/ironic-dnsmasq.conf }
|
||||
@ -174,6 +175,7 @@
|
||||
kolla_inspector_default_gateway: "{{ inspection_net_name | net_inspection_gateway or inspection_net_name | net_gateway }}"
|
||||
# Extra free-form user-provided configuration.
|
||||
kolla_extra_glance: "{{ kolla_extra_config.glance | default }}"
|
||||
kolla_extra_heat: "{{ kolla_extra_config.heat | default }}"
|
||||
kolla_extra_inspector: "{{ kolla_extra_config.inspector | default }}"
|
||||
kolla_extra_ironic: "{{ kolla_extra_config.ironic | default }}"
|
||||
kolla_extra_ironic_dnsmasq: "{{ kolla_extra_config.ironic_dnsmasq | default }}"
|
||||
|
@ -15,6 +15,15 @@ kolla_enable_glance:
|
||||
# glance-registry.conf.
|
||||
kolla_extra_glance:
|
||||
|
||||
###############################################################################
|
||||
# Heat configuration.
|
||||
|
||||
# Whether to enable Heat.
|
||||
kolla_enable_heat:
|
||||
|
||||
# Free form extra configuration to append to heat.conf.
|
||||
kolla_extra_heat:
|
||||
|
||||
###############################################################################
|
||||
# Ironic configuration.
|
||||
|
||||
|
9
ansible/roles/kolla-openstack/templates/heat.conf.j2
Normal file
9
ansible/roles/kolla-openstack/templates/heat.conf.j2
Normal file
@ -0,0 +1,9 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
{% if kolla_extra_heat %}
|
||||
#######################
|
||||
# Extra configuration
|
||||
#######################
|
||||
|
||||
{{ kolla_extra_heat }}
|
||||
{% endif %}
|
Loading…
Reference in New Issue
Block a user