Ansible: Saber interprete python Oracle Linux instal python3.8

ssh eisprod "which python || which python2 || which python3"
  • Para instalr
yum install -y oracle-softwarecollection-release-el7
yum install -y rh-python38

#Verificar
/opt/rh/rh-python38/root/usr/bin/python3.8 --version

# Crear symlink para que quede en /usr/bin/python3.8:
ln -s /opt/rh/rh-python38/root/usr/bin/python3.8 /usr/bin/python3.8