Posts

Showing posts from July, 2019

Ansible 2.7 and OEL/RHEL 5 - not mutually exclusive!

It's been quite sometime since I blogged. So, I thought, well, it should be something that helps all the folks and not just Oracle DBAs. I have been dabbling a bit with Ansible, Python and Oracle database for a few automation tasks. During this process, I did face issues with making Ansible 2.7 work with OEL/RHEL 5. As you all know, with the release of Ansible 2.4, the minimum version of Python required on the remote nodes is >= 2.6. However, with OEL/RHEL 5, the default version of Python is 2.4. So, if you are still wondering how to make the two to tango , here goes: 1. Download the latest version of Python 2.7 from here . NOTE : At the time of writing this blog, Python 2.7.16 was the latest Python 2.7 version downloadable from here . 2. E nsure rpms zlib and zlib-devel are installed on the target node. # rpm -qa | grep zlib NOTE : If zlib-devel isn't installed, we'll get the below error: myserver.domain.com | FAILED! =&g