Hi
I have a anisble play sworking fine from command line. but same play fails when running from jenkins
I have key vault_password_file in ansible.cfg , this has valid path and the .vpass file which is referred with the key, but it is failing when running thru jenkins
this is the Jenkins output
[FT-logs] $ ansible-playbook /var/lib/jenkins/workspace/FT-logs/playbooks/test.yml -i inv/ft -vvv
Using /var/lib/jenkins/workspace/FT-logs/ansible.cfg as config file
ERROR! The vault password file /home/deployer/.vpass was not found
FATAL: command execution failed
[hudson.AbortException](http://stacktrace.jenkins-ci.org/search?query=hudson.AbortException): Ansible playbook execution failed
at [org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:226)](http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform&entity=method)
at [org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:199)](http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform&entity=method)
at [hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)](http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepCompatibilityLayer.perform&entity=method)
at [hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)](http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$1.perform&entity=method)
I'm also running the job as deployer, not sure why jenkins can't see this file.
But if i log on jenkins server and run same command from /var/lib/jenkins/workspace/FT - logs/ , it works fine