Got it. Thanks Victor! On Tue, Sep 22, 2015 at 11:57 AM, Victor Martinez < victormartinezru...@gmail.com> wrote:
> Hi, > > Command not found message is about your shell context, likely your > ansible-playbook command is not part of the path variable, have you checked > your path variables in your slave? You could either set your path or use > the full path. You can see those variables if you run the below command in > your shell: > > env | sort > > Cheers > > > On Tuesday, 22 September 2015 08:08:34 UTC+2, Vani Paridhyani wrote: >> >> Hi! >> >> I want to know how to run ansible-playbook from ‘execute shell’ of >> jenkins. I am getting 'ansible-playbook: command not found' error. >> I am able to run the playbook by ssh’ng into the Jenkins box. >> >> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/71Wn5NDdJIw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/bf11731c-0b03-45c7-aaf9-2e97ef282eec%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/bf11731c-0b03-45c7-aaf9-2e97ef282eec%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Thanks, Vani P. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAF9q%3DvTn90y4WuRXGb10ANtB%3D4qApb1smJzTP1O3joALsncM-g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.