From 65fc8c9e35cceb25cde60dbc6ad679ce9c048eb6 Mon Sep 17 00:00:00 2001 From: Eugene Vilensky Date: Tue, 9 Feb 2021 09:40:39 -0600 Subject: [PATCH] INTERPRETER_PYTHON_DISTRO_MAP: Treat oracle same as rhel/centos (#73498) * treat oracle same as rhel/centos * fix misunderstood use of yaml anchors * add changelog fragment * Update changelogs/fragments/73498-INTERPRETER_PYTHON_DISTRO_MAP-Treat-oracle-same-as-rhel-centos.yml --- ...RETER_PYTHON_DISTRO_MAP-Treat-oracle-same-as-rhel-centos.yml | 2 ++ lib/ansible/config/base.yml | 1 + 2 files changed, 3 insertions(+) create mode 100644 changelogs/fragments/73498-INTERPRETER_PYTHON_DISTRO_MAP-Treat-oracle-same-as-rhel-centos.yml 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: