Currently we are using Ansible 2.8 version on top of RHEL 7.9 version and look like it Unmaintained (end of life) hence we are planning for upgrading ansible version.
Ansible 2.13 supported on RHEL 7.9 & 8.6 OS version.
“For your control node (the machine that runs Ansible), you can use nearly any UNIX-like machine with Python 3.8 or newer installed.”
I just checked on one of my RHEL7.9 machines and looking at that, you may have some issues. Looks like 3.6 is the latest available (from the RH repositories, you may be able to look at epel or maybe even the python website). Others may have a better idea than myself though.
Regards
[root@servername]# yum info python3
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
Installed Packages
Name : python3
Arch : x86_64
Version : 3.6.8
Release : 18.el7
Size : 39 k
Repo : installed
From repo : rhel-7-server-rpms
Summary : Interpreter of the Python programming language
URL : https://www.python.org/
License : Python
Description : Python is an accessible, high-level, dynamically typed, interpreted programming
: language, designed with an emphasis on code readability.
: It includes an extensive standard library, and has a vast ecosystem of
: third-party libraries.
:
: The python3 package provides the “python3” executable: the reference
: interpreter for the Python language, version 3.
: The majority of its standard library is provided in the python3-libs package,
: which should be installed automatically along with python3.
: The remaining parts of the Python standard library are broken out into the
: python3-tkinter and python3-test packages, which may need to be installed
: separately.
:
: Documentation for Python is provided in the python3-docs package.
:
: Packages containing additional libraries for Python are generally named with
: the “python3-” prefix.
My query : Ansible 2.13 version support on both RHEL 7.9 and RHEL 8.6 OS version ?
Thanks and Regards,
S Sathish
The short answer is "no". You can use "yum remove ansible; yum install
ansible-core" to get a more contemporary version on RHEL 8, but
ansible-core 2.13 is out of reach until and unless ansible developers
cooperate with RHEL about providing an updated python38-sphinx and
python38-jinja2 package to support their bleeding edge and quite
unwelcome demand for jinja2 >= 3.0.0.
The "ansible" package got split to "ansible", which isn't ansible,
it's actually a bundle of more than 100 ansible galaxy collections
with the real name "ansible_collections", and "ansiblc-core", with the
real name "ansible" from the git repo at https://github.com/ansible/ansible. Both have misnamed tarballs and
MODULE.egg-info python directories, as part of a very strange
architectural split of ansible some years ago. You're not the first
person confused by it, and you won't be the last.