Hi All, I hope you all are doing good in these trying times !!
I am working on a POC for using a executable file as my ansible vault password. So my ansible command to run playbook looks something like this ansible-playbook srev_user.yml --vault-id /etc/ansible/my-client.py -vvv and my-client.py script looks like this import subprocess cmd = subprocess.Popen(["echo", "abc123"]) cmd.wait() so this script output to "abc123" which is my ansible password. But this doesnt work and shows bellow error *[WARNING]: Error in vault password file loading (None): Problem running vault password client script /etc/ansible/my-client.py ([Errno 8] Execformat error). If this is not a script, remove the executable bit from the file.ERROR! Problem running vault password client script /etc/ansible/my-client.py ([Errno 8] Exec format error). If this is not a script, remove the executable bit from the file.* Please suggest on the same. Regards, Ankur Porwal -- 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2cb0e34f-5d98-464b-b1c3-fd142837d3d5n%40googlegroups.com.