ironic: add enable_ironic_dnsmasq parameter
With the enable_ironic_dnsmasq parameter it is possible to explicitly disable the ironic-dnsmasq service. By default, the parameter is set to the value of enable_ironic Change-Id: Icf94e5d6980ff238eac90e4f8cd8e530477a9c5b
This commit is contained in:
parent
308089bb64
commit
232aeaaa5f
@ -694,6 +694,7 @@ enable_horizon_watcher: "{{ enable_watcher | bool }}"
|
||||
enable_horizon_zun: "{{ enable_zun | bool }}"
|
||||
enable_influxdb: "{{ enable_cloudkitty | bool and cloudkitty_storage_backend == 'influxdb' }}"
|
||||
enable_ironic: "no"
|
||||
enable_ironic_dnsmasq: "{{ enable_ironic | bool }}"
|
||||
enable_ironic_neutron_agent: "{{ enable_neutron | bool and enable_ironic | bool }}"
|
||||
# TODO(yoctozepto): Remove the deprecated enable_ironic_pxe_uefi in Zed.
|
||||
enable_ironic_pxe_uefi: "no"
|
||||
|
@ -77,7 +77,7 @@ ironic_services:
|
||||
ironic-dnsmasq:
|
||||
container_name: ironic_dnsmasq
|
||||
group: ironic-inspector
|
||||
enabled: true
|
||||
enabled: "{{ enable_ironic_dnsmasq }}"
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
image: "{{ ironic_dnsmasq_image_full }}"
|
||||
|
@ -72,4 +72,6 @@
|
||||
ironic_dnsmasq_dhcp_ranges must be a list
|
||||
connection: local
|
||||
run_once: True
|
||||
when: not ironic_dnsmasq_dhcp_ranges is sequence
|
||||
when:
|
||||
- enable_ironic_dnsmasq | bool
|
||||
- not ironic_dnsmasq_dhcp_ranges is sequence
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
With the ``enable_ironic_dnsmasq`` parameter it is possible
|
||||
to explicitly disable the ironic-dnsmasq service. By default,
|
||||
the parameter is set to the value of ``enable_ironic``.
|
Loading…
Reference in New Issue
Block a user