diff --git a/changelogs/fragments/73498-INTERPRETER_PYTHON_DISTRO_MAP-Treat-oracle-same-as-rhel-centos.yml b/changelogs/fragments/73498-INTERPRETER_PYTHON_DISTRO_MAP-Treat-oracle-same-as-rhel-centos.yml new file mode 100644 index 00000000000..1a0acf32b47 --- /dev/null +++ b/changelogs/fragments/73498-INTERPRETER_PYTHON_DISTRO_MAP-Treat-oracle-same-as-rhel-centos.yml @@ -0,0 +1,2 @@ +bugfixes: +- INTERPRETER_PYTHON_DISTRO_MAP - prefer ``/usr/libexec/platform-python`` on ``oraclelinux 8`` when other pythons are present. diff --git a/lib/ansible/config/base.yml b/lib/ansible/config/base.yml index 15e7e346e59..66606eeef9b 100644 --- a/lib/ansible/config/base.yml +++ b/lib/ansible/config/base.yml @@ -1592,6 +1592,7 @@ INTERPRETER_PYTHON_DISTRO_MAP: '10': /usr/bin/python3 fedora: '23': /usr/bin/python3 + oracle: *rhelish redhat: *rhelish rhel: *rhelish ubuntu: