Hello. I submitted a PR https://github.com/ansible/ansible/pull/15965 to use /usr/bin/env instead of referring to a specific Python executable in the Azure dynamic inventory. This was rejected on the basis that all ansible modules had to refer to "/usr/bin/python". Does this make sense? This script is to be run locally and if ansible is on a virtualenv the Python executable will not be the correct one.
I understand this rule when applied to modules that are run on remote machines, but in this case I think it makes sense not to hardcode the Python interpreter. Best regards, André -- 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/db939fef-73a7-45ef-87f7-01aa35848785%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
