[ansible github] (https://github.com/ansible/ansible)
sudo yum install rpm-build make python2-devel asciidoc python-setuptools PyYAML python-crypto2.6 python-httplib2 python-jinja2 python-keyczar sshpass
git clone git://github.com/ansible/ansible.git
cd ./ansible
git checkout release1.6.2
make rpm
This will create .rpm in rpm-build folder
sudo rpm -ivh ./ansible-1.6.2-0.git*.el6.noarch.rpm
To test the install do:
ansible --version
sudo rpm -Uvh ~/rpmbuild/ansible-*.noarch.rpm
su sud yum install ansiblw