The vault password file /home/user./vault was not found

39 views
Skip to first unread message

ssn7819

unread,
Jun 10, 2020, 4:37:08 PM6/10/20
to Ansible Project

Hi Guys

Initially I was using a vault file to store sensitive information and pass them in.
It was working. Now I removed any reference to the vault file as I wanted to test something else.
Now I keep getting the below error 

ERROR The vault password file /home/user./vault was not found

Below is the actual command I used to run the ansible playbook

Actual command
anisble-playbook -i $HOST_FILE playbbok.yml --extra-vars "target_hosts=$2"

Things that I have checked
there is no reference to the pass word file in ansible.cfg

Any pointer is highly appreciated.
Thanks.

Brian Coca

unread,
Jun 10, 2020, 4:43:49 PM6/10/20
to Ansible Project
I suspect you have the vault secrets file configured somewhere, use:

ansible-config dump --only-changed

to find out where
--
----------
Brian Coca

ssn7819

unread,
Jun 10, 2020, 4:54:43 PM6/10/20
to Ansible Project
Thank you Brian that worked.
Reply all
Reply to author
Forward
0 new messages