Duplicate centos 8/9 logic for Rocky Linux 9
Change-Id: I523718ea8ac0fc200854af29142d3ba6679f8bba
This commit is contained in:
parent
93b35e0b68
commit
b958c02eee
@ -67,9 +67,17 @@ determine_distro
|
||||
# Install the python interpreters
|
||||
case ${DISTRO_ID} in
|
||||
rocky)
|
||||
dnf -y install python38 python38-devel libselinux-python3
|
||||
PYTHON_EXEC_PATH="$(which python3.8)"
|
||||
OSA_ANSIBLE_PYTHON_INTERPRETER="/usr/bin/python3"
|
||||
case ${DISTRO_VERSION_ID} in
|
||||
8)
|
||||
dnf -y install python38 python38-devel libselinux-python3
|
||||
PYTHON_EXEC_PATH="$(which python3.8)"
|
||||
OSA_ANSIBLE_PYTHON_INTERPRETER="/usr/bin/python3"
|
||||
;;
|
||||
9)
|
||||
dnf -y install python3 python3-devel libselinux-python3
|
||||
PYTHON_EXEC_PATH="$(which python3)"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
centos|rhel)
|
||||
case ${DISTRO_VERSION_ID} in
|
||||
|
Loading…
Reference in New Issue
Block a user