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#42187 - [ansible] ansible built-in hooks not working
Attached to Project:
Community Packages
Opened by Jonathan Raffre (NekoLover) - Tuesday, 30 September 2014, 10:17 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 08 October 2014, 15:41 GMT
Opened by Jonathan Raffre (NekoLover) - Tuesday, 30 September 2014, 10:17 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 08 October 2014, 15:41 GMT
|
DetailsDescription:
All the python scripts in /usr/share/ansible use /usr/bin/python instead of /usr/bin/python2. Ansible being written in python2, those scripts are broken. They do not have the .py extension, not matching the find in the PKGBUILD of ansible. Additional info: * package version(s) : 1.7.1-3 Steps to reproduce: * Write a playbook using for example AWS binds * Run it, it will fail with a SyntaxError exception because of the python2 syntax. |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Wednesday, 08 October 2014, 15:41 GMT
Reason for closing: Not a bug
Wednesday, 08 October 2014, 15:41 GMT
Reason for closing: Not a bug
FS#40492,FS#39153, and in the upstream FAQ: http://docs.ansible.com/faq.html#how-do-i-handle-python-pathing-not-having-a-python-2-x-in-usr-bin-python-on-a-remote-machineBut we have a new maintainer now, maybe he want to do something here.
I thought I should report this as, in the PKGBUILD, a find/grep is done on the .py scripts but not on those mentioned. Seeing the FAQ, it may be justified not to replace on those specifics scripts, Ansible seems to do it itself.