Posts

Showing posts from July, 2019

AWS using Ansible? Yes, it's possible!

  Although, I've used Ansible extensively for a lot of automation and orchestration tasks, using Ansible for AWS was indeed, a new territory for me.  This turned out to be a blessing, since along with using Ansible for AWS tasks, I also learnt how to use WSL (Windows Subsystem for Linux) on a Windows machine. Though WSL's been around for some time, I still hadn't come around to using it since I was mostly using my Macbook pro. Not anymore, though!  Anyway, I have listed below the steps to: Install WSL on Windows 11 23H2 patch Install AWS CLI on Ubuntu 22.04 (Exact version - 22.04.3 LTS) Install Ansible and the amazon.aws collection Use AWS CLI to get the list of  VPCs in the region - us-east-1 (or a region of your choice) Create a python file/script to get the list of VPCs in the region - us-east-1 (or a region of your choice) Create an Ansible playbook to get the list of VPCs in the region - us-east-1 (or a region of your choice.   You may download the comple...

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! =...

Popular posts from this blog

Check if UTL_FILE and FND_FILE are working fine

Modify retention period of workflow queues

Clone database home (clone.pl) deprecated in Oracle 19c