]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rhel8: add default python bin path
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 11 Sep 2019 15:44:30 +0000 (11:44 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 18 Sep 2019 12:35:53 +0000 (14:35 +0200)
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 <dsavinea@redhat.com>
raw_install_python.yml

index e14c0b525bb2851348c6e8b678580a4075bc0dbc..99003a1b3baa194e7fcb38767dac879bfe20be8d 100644 (file)
@@ -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)