Ensure Python is installed on EL10
While this conditional is likely not required for EL10, let's add it for consistency. Change-Id: I261ee1140e09c003c38328e286699f465413ef31
This commit is contained in:
@ -74,6 +74,8 @@ case ${DISTRO_ID} in
|
||||
PYTHON_EXEC_PATH="$(command -v python3.12)"
|
||||
OSA_ANSIBLE_PYTHON_INTERPRETER="/usr/bin/python3"
|
||||
;;
|
||||
10|10.[0-9]*)
|
||||
dnf -y install python3 python3-devel python3-libselinux
|
||||
esac
|
||||
;;
|
||||
centos|rhel)
|
||||
@ -83,6 +85,8 @@ case ${DISTRO_ID} in
|
||||
PYTHON_EXEC_PATH="$(command -v python3.12)"
|
||||
OSA_ANSIBLE_PYTHON_INTERPRETER="/usr/bin/python3"
|
||||
;;
|
||||
10)
|
||||
dnf -y install python3 python3-devel python3-libselinux
|
||||
esac
|
||||
;;
|
||||
ubuntu|debian)
|
||||
|
Reference in New Issue
Block a user