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

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.

I suspect you have the vault secrets file configured somewhere, use:

ansible-config dump --only-changed

to find out where

Thank you Brian that worked.