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

On 4 March 2016 at 13:32,  <[email protected]> wrote:
> 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
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/36a2fbe5-8699-435b-b6c0-dc70656486f7%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAK5eLPT%2BOFFd%3Dcfc9O%3D__d4842dW9roWODjHKU7gPE9E2hhMow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to