Fix: Install python 3.10.x on CentOS 7 55/72655/4
authorAnil Belur <abelur@linuxfoundation.org>
Sun, 18 Feb 2024 06:47:05 +0000 (16:47 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Tue, 20 Feb 2024 12:30:20 +0000 (22:30 +1000)
commita86f063e5ce8b6a1743dc7907fa293c292ad9c25
tree587a68ad47770218b911d699e00e7ebe1679c4bf
parent8f3f2c5fc384b9e8aedc1fea25921c8650f62a10
Fix: Install python 3.10.x on CentOS 7

Python 3.10.x is a pre-requiste for the ansible version 9.2.0
used fro the packer jobs. However the version of python 3.10.x
requires openssl11 libs and headers to be installed so that pyenv
install builds the required runtime dependencies.

ERROR: "ModuleNotFoundErrorr No module named '_ssl'"
"The Python ssl extension was not compiled. Missing the OpenSSL lib?"

Ref: https://github.com/pyenv/pyenv/wiki/Common-build-problems
Change-Id: Ib1c51882f057b7cf2c3a3c9307d524c9cf45b3a2
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
tasks/main.yml
vars/RedHat.yml