jenkins+Ansible

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 .

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”