Hello,
Can any help me to fix this issue.
I am facing an below error while executing ansible script
ERROR! Problem running vault password script /space/build/ansible-vault-password.txt ([Errno 8] Exec format error: ‘/space/build/ansible-vault-password.txt’). If this is not a script, remove the executable bit from the file.
The error pretty much explains it. That file seems to be a regular text file, but has the execute bit set. If the execute bit (permission) is applied to the file, it is treated as a script, and not a flat file to read the password from.
In your case, it seems you need to run chmod -x /space/build/ansible-vault-password.txt