On Sun, 10 May 2015 08:00 -0700, stenioc1 <[email protected]> wrote:
> 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]#

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

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

Giovanni

-- 
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/1431291559.1246706.265168417.1450A17A%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to