Error RHEL 5.5

Hi,

I have a problem, after I install following the howto (No known installation error):

$ git clone git://github.com/ansible/ansible.git --recursive
$ cd ./ansible
$ make rpm
$ sudo rpm -Uvh ./rpmbuild/ansible-*.noarch.rpm

I run the command < ansible localhost -m ping >, and display this error:

[root@sever ansible]# ansible localhost -m ping
Traceback (most recent call last):
File “/usr/local/scripts/ansible/bin/ansible”, line 36, in ?
from ansible.runner import Runner
File “/usr/local/scripts/ansible/lib/ansible/runner/init.py”, line 36, in ?
import ansible.constants as C
File “/usr/local/scripts/ansible/lib/ansible/constants.py”, line 76
except ConfigParser.Error as e:
^
SyntaxError: invalid syntax
[root@sever ansible]#

Can you help me?

Best regards

It appears you need a more recent version of Python on the control
machine.

http://docs.ansible.com/intro_installation.html

Giovanni

mac, yosemite, ...

i installed ansible with homebrew. is it safe to

$ brew remove ansible
$ git clone git://github.com/ansible/ansible.git --recursive
$ cd ./ansible
$ make
$ make install

randy

python 2.6+ is required for the control machine, 2.4 (+json lib) for targets