hitachienergy / epiphany

Cloud and on-premises automation for Kubernetes centered industrial grade solutions.
Apache License 2.0
138 stars 107 forks source link

[FEATURE REQUEST] Upgrade Ansible to the latest version in V2.0.x #3436

Open seriva opened 6 months ago

seriva commented 6 months ago

Is your feature request related to a problem? Please describe. The current version of Ansible has a bunch of security issues:

Describe the solution you'd like Upgrade Ansible to the latest version.

Describe alternatives you've considered None

Additional context None


DoD checklist

seriva commented 1 week ago

Should be Ansible 10.3.0 as its supported to EOL of Epiphany. Branch with update can be found here: https://github.com/seriva/epiphany/tree/ansible-upgrade

tomasz-baran commented 1 day ago

ansible-core 2.17 (ansible 10.x) is incompatible with RHEL 8 (due to Python 3.6 dnf bindings).

We have the following options: 1) Upgrade to Ansible 9 instead of 10 (ansible-core 2.16 works with Python 3.6) 2) Use unofficial packages to provide dnf bindings for Python 3.11 - they were created by a RedHat employee but hard to say if they will be updated and continuously available.

More info here: https://github.com/ansible/ansible/issues/83357#issuecomment-2150254754 https://www.jeffgeerling.com/blog/2024/newer-versions-ansible-dont-work-rhel-8

We decided to choose option 1.

seriva commented 1 day ago

Option 1 will fix all open CV issues and while the main Ansible package is EOL from November 2024, ansible-core will be supported till EOL Epiphany in May 2025