Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#40492 - community/ansible python2 modules refer to /usr/bin/python that is python3 symlink
Attached to Project:
Community Packages
Opened by Dmitry Kuzmenko (mallrat) - Thursday, 22 May 2014, 14:25 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 23 May 2014, 14:30 GMT
Opened by Dmitry Kuzmenko (mallrat) - Thursday, 22 May 2014, 14:25 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 23 May 2014, 14:30 GMT
|
DetailsDescription:
Ansible package depends on the only python2 version so it means all the ansible modules are refer to python2 But as I see at least one of it's modules refer to /usr/bin/python that is symlink to python3 in Arch: $ head -n1 $(pacman -Qlq ansible | grep get_url) #!/usr/bin/python As a result of this I'm getting a syntax error in one of ansible tasks: invalid output was: File "/home/dimm/.ansible/tmp/ansible-tmp-1400684367.96-210764804452873/get_url", line 159 except Exception, err: ^ SyntaxError: invalid syntax Additional info: Name : ansible Version : 1.6.1-1 Steps to reproduce: Can't post, it's related to confidential source code, sorry... |
This task depends upon
Closed by Doug Newgard (Scimmia)
Friday, 23 May 2014, 14:30 GMT
Reason for closing: Not a bug
Additional comments about closing: Please close as wrong. There is an official guide how to avoid the issue I found.
Friday, 23 May 2014, 14:30 GMT
Reason for closing: Not a bug
Additional comments about closing: Please close as wrong. There is an official guide how to avoid the issue I found.
FS#39153. You need to set ansible_python_interpreter.