Merge "ironic: add enable_ironic_dnsmasq parameter"
This commit is contained in:
commit
00de2aaddb
@ -900,6 +900,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 }}"
|
||||
enable_ironic_prometheus_exporter: "{{ enable_ironic | bool and enable_prometheus | bool }}"
|
||||
enable_iscsid: "{{ enable_cinder | bool and enable_cinder_backend_iscsi | bool }}"
|
||||
|
@ -79,7 +79,7 @@ ironic_services:
|
||||
ironic-dnsmasq:
|
||||
container_name: ironic_dnsmasq
|
||||
group: ironic-inspector
|
||||
enabled: true
|
||||
enabled: "{{ enable_ironic_dnsmasq }}"
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- NET_RAW
|
||||
|
@ -84,4 +84,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