vmware / ansible-for-nsxt

Ansible delivers simple IT automation that ends repetitive tasks and frees up DevOps teams for more strategic work. This project is to enable this automation for NSX-T installation.
Other
171 stars 145 forks source link

ansible-for-nsxt don't work on ansible-core: 2.17.1 or above #508

Closed notti1205 closed 1 week ago

notti1205 commented 4 months ago

Describe the bug

modules in ansible-for-nsxt don't work with error message: fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "/bin/sh: 1: /usr/bin/env python: not found\n", "module_stdout": "", "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error", "rc": 127}

Reproduction steps

1. 2. 3. ...

Expected behavior

work them correctly

Additional context

https://github.com/ansible/ansible/issues/83476

notti1205 commented 4 months ago

Shebang '/usr/bin/env python' in modules don't interpreted correctly on ansible-core:2.17.1.

notti1205 commented 1 week ago

thank you for fix!