Problem scenario
You are using Red Hat Enterprise Linux in AWS. You need to install an older version of Ansible — not the newest. The pip command and other supported ways of deploying Ansible automatically use the newest version. You also want to install Maven.
Solution
Run this script with “sudo”. (You could run it as root, but that is not recommended.) The server must be in a Security Group with access to the internet.
…
