# jenkins+Ansible

**URL:** <https://forum.ansible.com/t/jenkins-ansible/21863>\
**Category:** Ansible Project\
**Created:** [June 27, 2016, 10:26am UTC](https://forum.ansible.com/t/jenkins-ansible/21863 "2016-06-27T10:26:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![imed\_khaskhoussi](https://avatars.discourse-cdn.com/v4/letter/i/919ad9/32.png) [@imed\_khaskhoussi](https://forum.ansible.com/u/imed_khaskhoussi)\
**Post date:** [June 27, 2016, 10:26am UTC](https://forum.ansible.com/t/jenkins-ansible/21863/1 "2016-06-27T10:26:53Z")

</div>

Hello ,  
i want to execute a playbook from jenkins ,so i installed ansible plugin .but when i try to execute the playbook i got a problem of permission denied .  
is there some roles to attribute to jenkins ?  
need some help please .  
thank you in advance .

---

<div class="post-metadata">

**Author:** ![rup](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@rup](https://forum.ansible.com/u/rup)\
**Post date:** [June 27, 2016, 5:55pm UTC](https://forum.ansible.com/t/jenkins-ansible/21863/2 "2016-06-27T17:55:06Z")

</div>

We use Jenkins but don’t bother with the plugin. I simply create an Execute Shell step at the end of my Jenkins project (earlier steps involve staging code files, etc.) with an entry like this:

ssh ansible\_user@ansible.server -C “cd ~ansible\_user/playbooks;ansible-playbook -i hostfile play.yml -vv”
