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
|
# driver definitions
|
||||||
ironic_drivers_enabled:
|
ironic_drivers_enabled:
|
||||||
|
- no_driver
|
||||||
- agent_ipmitool
|
- agent_ipmitool
|
||||||
- pxe_ipmitool
|
- pxe_ipmitool
|
||||||
|
|
||||||
|
|
|
@ -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.
|
# task to save time.
|
||||||
|
|
||||||
ironic_driver_types:
|
ironic_driver_types:
|
||||||
|
no_driver:
|
||||||
|
inspect: no-inspect
|
||||||
|
console: no-console
|
||||||
|
raid: no-raid
|
||||||
agent_ilo:
|
agent_ilo:
|
||||||
hardware_type: ilo
|
hardware_type: ilo
|
||||||
boot: ilo-virtual-media
|
boot: ilo-virtual-media
|
||||||
|
@ -140,7 +144,7 @@ ironic_packages_list: >
|
||||||
{%- set package_list = package_list + ironic_inspector_http_distro_packages %}
|
{%- set package_list = package_list + ironic_inspector_http_distro_packages %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if 'ipmitool-socat' in (filtered_ironic_drivers | json_query('[*].console') | unique) %}
|
{%- 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 %}
|
{%- endif %}
|
||||||
{{- package_list -}}
|
{{- package_list -}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue