Merge "Add a no_driver ironic driver type"
This commit is contained in:
commit
e7099c1e47
@ -328,6 +328,7 @@ ironic_conductor_init_config_overrides: {}
|
||||
|
||||
# driver definitions
|
||||
ironic_drivers_enabled:
|
||||
- no_driver
|
||||
- agent_ipmitool
|
||||
- pxe_ipmitool
|
||||
|
||||
|
7
releasenotes/notes/no_driver-b289e1c4e2fafabe.yaml
Normal file
7
releasenotes/notes/no_driver-b289e1c4e2fafabe.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
A new driver type ``no_driver`` is defined in the os_ironic role which
|
||||
enables the ``no-console``, ``no-raid`` and ``no-inspect`` interfaces
|
||||
in the ironic configuration. This driver is added to the defaults set of
|
||||
drivers configured by the ironic ansible role.
|
@ -20,6 +20,10 @@ _ironic_inspector_is_first_play_host: "{{ (ironic_services['ironic-inspector']['
|
||||
# task to save time.
|
||||
|
||||
ironic_driver_types:
|
||||
no_driver:
|
||||
inspect: no-inspect
|
||||
console: no-console
|
||||
raid: no-raid
|
||||
agent_ilo:
|
||||
hardware_type: ilo
|
||||
boot: ilo-virtual-media
|
||||
@ -140,7 +144,7 @@ ironic_packages_list: >
|
||||
{%- set package_list = package_list + ironic_inspector_http_distro_packages %}
|
||||
{%- endif %}
|
||||
{%- if 'ipmitool-socat' in (filtered_ironic_drivers | json_query('[*].console') | unique) %}
|
||||
{% set package_list = package_list + ironic_ipmitool_socat_distro_packages %}
|
||||
{%- set package_list = package_list + ironic_ipmitool_socat_distro_packages %}
|
||||
{%- endif %}
|
||||
{{- package_list -}}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user