Hi Martz, Running `chmod -x /space/build/ansible-vault-password.txt` command facing the same error
--Sowmithri On Monday, February 6, 2023 at 11:54:45 PM UTC+5:30 Matt Martz wrote: > 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` > > On Mon, Feb 6, 2023 at 12:18 PM sowmithri d <[email protected]> wrote: > >> 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. >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/85e82971-16e3-4e22-a943-f691b2b870dan%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/85e82971-16e3-4e22-a943-f691b2b870dan%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Matt Martz > @sivel > sivel.net > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f04feb33-62cd-47ee-ba93-888fdfc2e342n%40googlegroups.com.
