# Ansible 2.9.7 on RHEL 7.9 - Upgrade plan

**URL:** <https://forum.ansible.com/t/ansible-2-9-7-on-rhel-7-9-upgrade-plan/37424>\
**Category:** Ansible Project\
**Tags:** rhel\
**Created:** [December 5, 2022, 7:43pm UTC](https://forum.ansible.com/t/ansible-2-9-7-on-rhel-7-9-upgrade-plan/37424 "2022-12-05T19:43:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramkumar\_A](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Ramkumar\_A](https://forum.ansible.com/u/Ramkumar_A)\
**Post date:** [December 5, 2022, 7:43pm UTC](https://forum.ansible.com/t/ansible-2-9-7-on-rhel-7-9-upgrade-plan/37424/1 "2022-12-05T19:43:24Z")

</div>

Hi,

Ansible 2.9.7 is running on RHEL 7.9 server.  
We are planning to upgrade the Ansible to latest version.

As per documentation, there are many Ansible versions released after 2.9.7 and latest one is Ansible 7 (ansible-core and ansible).

Can you advise which version would be the appropriate one to upgrade from 2.9.7 on the existing RHEL 7.9 server ? Does latest Ansible versions support RHEL 7.9 ?

Thanks,  
Ram.

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [December 5, 2022, 7:50pm UTC](https://forum.ansible.com/t/ansible-2-9-7-on-rhel-7-9-upgrade-plan/37424/2 "2022-12-05T19:50:56Z")

</div>

There is no upgrade path if you plan to continue using RHEL 7.9 as the controller.

Current supported versions are going to require a Python version (3.8 or 3.9+) newer than what is available on RHEL 7.9.

---

<div class="post-metadata">

**Author:** ![Ramkumar\_A](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Ramkumar\_A](https://forum.ansible.com/u/Ramkumar_A)\
**Post date:** [December 5, 2022, 8:23pm UTC](https://forum.ansible.com/t/ansible-2-9-7-on-rhel-7-9-upgrade-plan/37424/3 "2022-12-05T20:23:37Z")

</div>

Hi Matt,

Thanks for the response and providing clarity. I understand the first step is to upgrade RHEL 7.9 to 8.x version to start considering Ansible upgrade.

If we upgrade the server to RHEL 8.4, Can you suggest which one would be the appropriate Ansible version to upgrade from 2.9.7 ?

And does this affects the existing playbooks developed in the current version ?

Thanks,  
Ram.

---

<div class="post-metadata">

**Author:** ![Nico\_Kadel-Garcia](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/nico_kadel-garcia/32/9998_2.png) [@Nico\_Kadel-Garcia](https://forum.ansible.com/u/Nico_Kadel-Garcia)\
**Post date:** [December 6, 2022, 12:41pm UTC](https://forum.ansible.com/t/ansible-2-9-7-on-rhel-7-9-upgrade-plan/37424/4 "2022-12-06T12:41:53Z")

</div>

> Hi Matt,
> 
> Thanks for the response and providing clarity. I understand the first step is to upgrade RHEL 7.9 to 8.x version to start considering Ansible upgrade.
> 
> If we upgrade the server to RHEL 8.4, Can you suggest which one would be the appropriate Ansible version to upgrade from 2.9.7 ?
> 
> And does this affects the existing playbooks developed in the current version ?
> 
> Thanks,  
> Ram.

I publish RPM building tools for the leading edge ansible and  
ansible-core at [https://github.com/nkadel/ansiblerepo/](https://github.com/nkadel/ansiblerepo/) if you want,  
until someone at Red Hat convinces their employees publishing ansible  
to actually publish an RPM for RHEL. They do publish RPMs for  
ansible-core.

That said, let's distinguish between "ansible", which was the old  
name, and "ansible-core", which is the new name. The modern "ansible"  
package does not contain ansible. It is of no use whatsoever for most  
ansible administrators. It is a collection of more than 100  
ansible\_collections modules, and has a published \*dependency\* on  
ansible-core, which actually contains the ansible software. The new  
"ansible" is not your friend. If you need the up-to-date list of such  
modules for reference or for local use, the list for the latest  
ansible 7.0.0 release is published at:

&nbsp;&nbsp;&nbsp;&nbsp;[https://github.com/ansible-community/ansible-build-data/blob/main/7/ansible-7.0.0.deps](https://github.com/ansible-community/ansible-build-data/blob/main/7/ansible-7.0.0.deps)

There is no published RPM from Red Hat for the now misnamed "ansible"  
package, only for "ansible-core". That much more useful package is  
fairly up-to-date, ansible-core 2.13, from the "appstream" yum channel  
for RHEL 8. ansible-core cannot be kept up-to-date on RHEL 7 unless  
you're willing to install your own personal version of python 3.9 or  
later. I'd definitely hop to RHEL 8 or RHEL 9 instead for my ansible  
server.

And yes, the word "ansible" is now very confusing.

Nico Kadel-Garcia
