80e762e18a
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
15 lines
826 B
YAML
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``. |