Ansible 1.6.x on RHEL5

Has anyone successfully built an RPM for Ansible 1.6.x under RHEL5? The current Ansible spec file requires RPMs python26-keyczar and python26-setuptools which I cannot find anywhere on the ‘net. I’ve tried commenting them out of the spec, but it all goes wrong after that.

Any suggestions?

Thx

Gopher.

Snyder, Chris wrote:

Has anyone successfully built an RPM for Ansible 1.6.x under RHEL5? The
current Ansible spec file requires RPMs python26-keyczar and
python26-setuptools which I cannot find anywhere on the �net. I�ve tried
commenting them out of the spec, but it all goes wrong after that.

Any suggestions?

Do you really want to manage systems from a Centos 5 host?

Since you only need ansible to be installed/running on the management host why not use a Centos 6 (or 7 - that would give you the ssh speedups) host for that?

[Admittedly I only fully use ansible on new hosts, rather than setting everything up to manage older ones, so C5 tends not to be of interest as we decided to stop putting in new C5 boxes a couple of years back]

If you really want to build on C5 then grab the source rpms from the EPEL/6 repository and back port them. Its likely to be a painful experience.

  Nigel.

I’d strongly recommend running from a newer control host, since it’s easier to not deal with all the python26- packages and such.

Managing EL5 nodes is no problem, of course.

Thanks – I just had to ask . We’re working on rolling out centos6 (yeah, I know, RHEL7 just came out), and it’s taking a lot longer than expected.