geerlingguy / ansible-for-devops

Ansible for DevOps examples.
https://www.ansiblefordevops.com
MIT License
8.51k stars 3.48k forks source link

Newer versions of Ansible (2.17+) don't work on the RHEL / Rocky / CentOS 8 #589

Open mateusfmcota opened 4 months ago

mateusfmcota commented 4 months ago

The geerlingguy/rockylinux8 uses python 3.6 and according to Ansible 2.17 Roadmap they dropped support for it, this breaks all playbooks.

The way I fixed mine was to replace the box from the playbooks for the "rockylinux/9" one, which uses python 3.9 but the book probably needs to be updated

geerlingguy commented 4 months ago

Indeed, I wrote on this earlier this year, Newer versions of Ansible don't work with RHEL 8... some of the examples will also need tweaking to work with rockylinux9 too :(

I will be working on some book updates soon-ish, but can't promise any definite timeline for it!