ironic/releasenotes/notes/add-ansible-python-interpreter-2035e0f23d407aaf.yaml
Riccardo Pittau 80e762e18a Adding ansible python interpreter as driver_info
This patch grants the possibility to change the ansible python
interpreter used on remote managed machines as per-node
driver_info option.
Follw-up of https://review.openstack.org/641376

Change-Id: Ic1a994970a5aef5bbbbaaa747818e7ac402912ad
Story: 2005159
Task: 29915
2019-03-13 11:15:16 +01:00

15 lines
826 B
YAML

---
features:
- Adds option ``[ansible]default_python_interpreter`` to choose
the python interpreter that ansible uses on managed machines.
By default, ansible uses ``/usr/bin/python`` as interpreter, making the
assumption that that path is always present on remote managed systems.
This might not be always the case, for example in custom build
images or Python 3 native distributions.
With this option the operator has the ability to set the absolute
path of the python interpreter on the remote machines, for example
``/usr/bin/python3``.
The same interpreter will be used in all operations that use the
ansible deploy interface.
It is also possible to override the value set in the configuration for a
node by passing ``ansible_python_interpreter`` in its ``driver_info``.