From 436077b95c6957198f815316cb07c8ccc7460b6d Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Wed, 11 Sep 2019 11:44:30 -0400 Subject: [PATCH] rhel8: add default python bin path On RHEL 8 system we should check the /usr/libexec/platform-python path instead of installing python36 package. [DEPRECATION WARNING]: Distribution redhat 8.0 on host xxxxx should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. Signed-off-by: Dimitri Savineau (cherry picked from commit f90696c36e0a0cce57e61a66057b628267fdc3ed) --- raw_install_python.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/raw_install_python.yml b/raw_install_python.yml index d7f3a854e..8d36c9dac 100644 --- a/raw_install_python.yml +++ b/raw_install_python.yml @@ -8,6 +8,7 @@ with_items: - /usr/bin/python - /usr/bin/python3 + - /usr/libexec/platform-python - block: - name: check for dnf-3 package manager (RedHat/Fedora/CentOS)