ansible Installation on Amazon Linux from git repo


Amazon Linux is a RHEL variant, so the Red Hat instructions should work for the most part. There is, however, at least one discrepancy.

There was an instance where the python27-devel package, as opposed to python-devel, was explicitly necessary.

Here, we will install from source.

sudo yum -y update
sudo yum -y install python27 python27-devel openssl-devel libffi-devel gcc git

git clone<search the github for a preferable branch>

cd ansible
sudo python build
sudo python install