Closed SquirrelCorporation closed 5 months ago
try to add #!/usr/bin/python
or #!/usr/bin/python3
as first line
and execute bit (chmod +x
) should be set on python-file
This is an error from ansible
itself, not ansible-runner
. Your first step would be to attempt to eliminate ansible-runner
from the equation and come up with a simple reproducer using only the ansible-playbook
command.
I have seen some issues where not having the executable bit set on the file was the culprit. If that is not the solution, then I suggest opening an issue under the ansible/ansible repo. You will need to provide the version of ansible
you are using (I do not see it mentioned here) and, hopefully, your reproducer.
Hi!
I am encountering a problem with using the python interface and providing a cmdline
--vault-password-file vault-password-client.py
It doesn't work as expected, I got a HMAC error during decryption. However, giving the cmdline a plain text file with the password works--vault-password-file pass.txt
The python script is
CMD line:
--vault-password-file vault-password-client.py
Output of runner:
By modifying the python script, as far I can tell, the file is not executed at all