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:
Dmitriy Rabotyagov
2025-06-02 19:31:57 +02:00
parent b75bbe0ea3
commit 95ba31fae5

View File

@ -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)