commit 62d24f121efc40835581e0e0a48e82e0a6f392fb
Author: Jose Luis Franco Arza <email address hidden>
Date: Tue Dec 17 14:18:51 2019 +0100
Change the python interpreter discovery mode.
Current default mode for the python interpreter discover inansible 2.8 is
auto_legacy. This patch changes the mode to auto, the biggest difference
respecting auto_legacy is 'If no entry is found, or the listed Python is
not present on the target host, searches a list of common Python interpreter
paths and uses the first one found' [0].
Currently, it has been observed some issues with the
discovered_python_interpreter fact not getting updated on specific scenarios
(for example, when upgrading the node from RHEL7 to RHEL8). This change is
expected to improve this situation.
Reviewed: https:/ /review. opendev. org/701520 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=62d24f121ef c40835581e0e0a4 8e82e0a6f392fb
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 62d24f121efc408 35581e0e0a48e82 e0a6f392fb
Author: Jose Luis Franco Arza <email address hidden>
Date: Tue Dec 17 14:18:51 2019 +0100
Change the python interpreter discovery mode.
Current default mode for the python interpreter discover inansible 2.8 is python_ interpreter fact not getting updated on specific scenarios
auto_legacy. This patch changes the mode to auto, the biggest difference
respecting auto_legacy is 'If no entry is found, or the listed Python is
not present on the target host, searches a list of common Python interpreter
paths and uses the first one found' [0].
Currently, it has been observed some issues with the
discovered_
(for example, when upgrading the node from RHEL7 to RHEL8). This change is
expected to improve this situation.
[0] - https:/ /docs.ansible. com/ansible/ latest/ reference_ appendices/ interpreter_ discovery. html# 98537b5c57a441c 8e28a552bc0 294e459d9a7d0c3 8fc9af21a6)
Related-Bug: #1856313
Change-Id: Iaef4839bb15ec3
(cherry picked from commit 6b4f47dd4245133