# Issue re Running ansible Playbook with Jenkins

**URL:** <https://forum.ansible.com/t/issue-re-running-ansible-playbook-with-jenkins/20772>\
**Category:** Ansible Project\
**Tags:** aap\
**Created:** [March 4, 2016, 1:32pm UTC](https://forum.ansible.com/t/issue-re-running-ansible-playbook-with-jenkins/20772 "2016-03-04T13:32:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rikki.maha24](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@rikki.maha24](https://forum.ansible.com/u/rikki.maha24)\
**Post date:** [March 4, 2016, 1:32pm UTC](https://forum.ansible.com/t/issue-re-running-ansible-playbook-with-jenkins/20772/1 "2016-03-04T13:32:11Z")

</div>

HI All,

I have created deployment playbook on the build server under user deploy: **/home/deploy/playbooks/deploy.yml**. And when I am running the playbook from the build server itself :

**ansible-playbook deploy.yml** and it runs perfectly fine. The file gets deployed on the aap server.

However I am trying to execute the playbook through Jenkins and I am using Jenkins Ansible plugin, it is always giving me **ERROR! the playbook: /home/deploy/playbooks/deploy.yml**  **could not be found,** I have been struggling with this from so long now, but no luck. I have even tried execute the ansible playbook using shell script through jenkins but still keep on getting the same issue.

PS: I have created a deploy user on both the server build and app server app and both can communicate without password as I have installed ssh keys on both of the servers.

Please any help would be greatly appreciated…

Thanks and Regards,

Ricky

---

<div class="post-metadata">

**Author:** ![Dick\_Davies](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dick\_Davies](https://forum.ansible.com/u/Dick_Davies)\
**Post date:** [March 4, 2016, 8:59pm UTC](https://forum.ansible.com/t/issue-re-running-ansible-playbook-with-jenkins/20772/2 "2016-03-04T20:59:57Z")

</div>

Might be a silly question, but are you sure you're running that job on  
the master and not some random slave?

---

<div class="post-metadata">

**Author:** ![rikki.maha24](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@rikki.maha24](https://forum.ansible.com/u/rikki.maha24)\
**Post date:** [March 4, 2016, 11:01pm UTC](https://forum.ansible.com/t/issue-re-running-ansible-playbook-with-jenkins/20772/3 "2016-03-04T23:01:30Z")

</div>

Hi … Yes, I am running the job on the master only. I dont have any slave…
