Yep, but i've got python2:

 > pacman -Q python2
python2 2.7.10-2

W dniu środa, 7 października 2015 15:31:00 UTC użytkownik rm_czuga napisał:
>
> Hi there, after changing my linux distribution from debian to arch i've 
> got little issue to run playbooks. When ansbile was installed by pacman i 
> have error like:
>
> Traceback (most recent call last):
>   File "/usr/bin/ansible-playbook", line 324, in <module>
>     sys.exit(main(sys.argv[1:]))
>   File "/usr/bin/ansible-playbook", line 264, in main
>     pb.run()
>   File "/usr/lib/python2.7/site-packages/ansible/playbook/__init__.py", 
> line 310, in run
>     play = Play(self, play_ds, play_basedir, 
> vault_password=self.vault_password)
>   File "/usr/lib/python2.7/site-packages/ansible/playbook/play.py", line 
> 103, in __init__
>     ds = self._load_roles(self.roles, ds)
>   File "/usr/lib/python2.7/site-packages/ansible/playbook/play.py", line 
> 440, in _load_roles
>     roles = self._build_role_dependencies(roles, [], {})
>   File "/usr/lib/python2.7/site-packages/ansible/playbook/play.py", line 
> 282, in _build_role_dependencies
>     dependencies = data.get('dependencies',[])
> AttributeError: 'list' object has no attribute 'get'
>
> But when I uninstall package by pacman and install by pip I've got:
>
>   File "/usr/bin/ansible-playbook", line 218
>     print ''
>            ^
> SyntaxError: Missing parentheses in call to 'print'
>
> On this same playbooks...
> Version of ansible is 1.9.3 in both cases.
> Many thanks for help.
>

-- 
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/847eb8de-1cf3-4e19-a4c3-e6f6aaed8ce6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to