Not sure about RedHat, but for CentOS 7 you may use the similar operations

$ git clone --recursive --branch v2.0.2.0-1 https://
github.com/ansible/ansible.git
$ cd ansible && make rpm
$ sudo rpm -ivh rpm-build/ansible*centos.noarch.rpm

Oops!

error: Failed dependencies:
python-httplib2 is needed by 
ansible-2.0.2.0-0.git201604192124.24d9e5e.HEAD.el7.centos.noarch
python-keyczar is needed by 
ansible-2.0.2.0-0.git201604192124.24d9e5e.HEAD.el7.centos.noarch
python-paramiko is needed by 
ansible-2.0.2.0-0.git201604192124.24d9e5e.HEAD.el7.centos.noarch
sshpass is needed by 
ansible-2.0.2.0-0.git201604192124.24d9e5e.HEAD.el7.centos.noarch

We need to install EPEL repository and using  *yum localinstall* in order 
to avoid broken dependencies 

$ wget http:
//dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-6.noarch.rpm
$ sudo rpm -ivh epel-release-7-6.noarch.rpm
$ sudo yum localinstall rpm-build/ansible*centos.noarch.rpm

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0a1371dd-aac4-4ab9-a5e0-db88c96dae4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to