Installation: Redhat / Centos / Fedora
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install ansible
Python install:
sudo yum -y install python-pip
sudo pip install --upgrade pip
sudo pip install ansible
Ubuntu:
apt-get install ansible