Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify shebang to use ansible_python_interpreter #459

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

austlane
Copy link

The vmware.ansible-for-nsxt module currently breaks ansible module convention by using the env shebang.

#!/usr/bin/env python

From the Ansible Docs:

Using #!/usr/bin/env, makes env the interpreter and bypasses ansible_<interpreter>_interpreter logic.

On machines without a symlink from python to python3, the current implementation is broken.

With this change, the python interpreter is selected by the ansible_python_interpreter.

See:

@vmwclabot
Copy link
Member

@austlane, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <[email protected]> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants