Problem:
Ansible has a bug (get_url doesn’t work on hosts with Python 3.12 or newer) that is supposed to be fixed in Ansible-core 2.16. Current Ansible-core on my system, as far as I can tell, is 2.14.14.
Expected outcome:
Ansible-core is updated to latest release.
Foreman and Proxy versions:
3.12.0
Foreman and Proxy plugin versions:
foreman-tasks 9.2.3
foreman_ansible 14.2.1
foreman_bootdisk 21.2.3
foreman_remote_execution 13.2.5
katello 4.14.0
Distribution and version:
AlamaLinux 9.4
Other relevant data:
I never installed Ansible manually, presumably it came with the foreman_ansible plugin. Is it safe to upgrade Ansible manually, or will that potentially break things? Do I need to wait for foreman_ansible to be updated?
It was decided that Ansible will stay on 2.14 for the whole lifetime of RHEL 9 (and due to that also it’s derivatives)
I think the best case would be to check if the issue is also happening for CentOS Stream 9, which should already have the content for the 9.5 release, and if it’s also happening there (and also RHEL 9), might be time to open an issue for either or (or both) RHEL / Alma.
Maybe a fix for 2.14 is possible
For some reason, ansible-core didn’t show up as an installed package when I looked yesterday, so I assumed it was installed via the python pip method. Looking now, I see ansible-core 2.14.14-1.el9 is installed from @appstream.
It looks like ansible-core 2.16 is available in @appstream for AlmaLinux 8, so I guess I just need to wait for the newer version to show up in the AlmaLinux 9 AppStream repo.
Nope, everything correct there, EL 8 stuck to 2.16 as stable version, EL 9 to 2.14 as stable version.
At least that’s what the blog post says.
(Alma will very most likely stick to what RHEL has so this article also applies there)