djflux / meza

Setup an enterprise MediaWiki server with simple commands
MIT License
0 stars 0 forks source link

Fix "latest" tag so that ansible-2.9 and python-3.6 get upgrades if necessary #22

Open djflux opened 2 years ago

djflux commented 2 years ago

Since meza installs EPEL, python and ansible packages are currently excluded from being updated in the meza latest tag. This is because EPEL currently provides ansible-5.4.x, which requires python38. Upgrading python to version 3.8 breaks some things in ansible - particularly selinux. The currently provided version of python3-libselinux from Red Hat is only compiled against python36 so any operations that use selinux in ansible/meza fail.

Either figure out about to make ansible use /usr/lib/platform-python (which is only available on RH-variants) or edit src/roles/base/tasks/main.yml to only update ansible-2.9 and python-3.6 packages directly from Red Hat repos.