Hi,
I’ve installed Ansible Tower 3.5.1 on CentOs 7 EC2 Instance for our deployments. After Installtion I’ve set up some Jobs using Jobs Template, When I try to launch them I’m getting following error.
The vault password file /var/lib/awx/.vault_pass was not found
I’ve created .valut_pass.txt in the above directory and try to re-ran the Job it is failed, Then I try to update .vault_pass in home ./~ directory and re-ran the Job still it is failed. Also I made reference to .valut_pass in bash profile also by reference the path (ANSIBLE_VAULT_PASSWORD_FILE=~/.vault_pass.txt) still it failed when I try to run the job.
Also I tried to remove the reference(Just for testing) from ansible.cfg(User one, which is there in my Ansible Tower Set up) to see whether Job will run, Still it failed,
In all the above three instances it is failing with Same errors. I don’t understand how the come the Job fails even after I remove reference from ansible.cfg.
FYI,Whenever I made any changes, I’ve restarted the ansible-tower-service and tested it. I also checked /etc/ansible/ansible.cfg file also but there are no references to valut_pass in that file and also as per ansible documentation, If user ansible_cfg is there than that takes precedence so it should not be an issue, I guess.
Has any one of you faced similar error and able to resolve it? If so please let me know what’s the work around?
Regards
Kalyan.