ce7119eaf3
In a homogeneous hardware deployment that uses the same ramdisk for all nodes, and possibly the same playbooks for actions with ansible deploy interface, it is benefitial to make defaults of various `ansible_` driver_info fields to be configurable via ironic configuration file to simplify node enrollment. This patch also deprecates `ansible_deploy_username` and `ansible_deploy_key_file` options in node's driver_info in favor of `ansible_username` and `ansible_key_file` respectively. Change-Id: Ib198c07c1d414c0d78950e5d98a5176e12a7df13 Closes-Bug: #1736409
30 lines
1.3 KiB
YAML
30 lines
1.3 KiB
YAML
---
|
|
features:
|
|
- |
|
|
Adds a new ``ansible`` deploy interface. It targets mostly undercloud
|
|
use-case by allowing greater customization of provisioning process.
|
|
|
|
This new deploy interface is usable only with hardware types.
|
|
It is set as supported for a ``generic`` hardware type and all
|
|
its subclasses, but must be explicitly enabled in the
|
|
``[DEFAULT]enabled_deploy_interfaces`` configuration file option
|
|
to actually allow setting nodes to use it.
|
|
|
|
For migration from the ``staging-ansible`` interface from the
|
|
``ironic-staging-drivers`` project to this ``ansible`` interface,
|
|
operators have to consider the following differences:
|
|
|
|
- callback-less operation is not supported
|
|
- driver_info fields 'ansible_deploy_username' and
|
|
'ansible_deploy_key_file' are deprecated and will be removed
|
|
in the Rocky release, use 'ansible_username' and 'ansible_key_file'
|
|
respectively
|
|
- base path for playbooks can be defined in driver_info as well
|
|
(as 'ansible_playbooks_path' field, defaults to the value of
|
|
``[ansible]/playbooks_path`` from ironic configuration file
|
|
- default playbooks for actions and cleaning steps file can be set in
|
|
ironic configuration file as various ``[ansible]/default_*`` options.
|
|
|
|
Please read the ``ansible`` deploy interface documentation for more
|
|
information.
|