sshpass: Failed to run command: No such file or directory. Is sshpass in
the $PATH for the user running jenkins?

On Wed, May 3, 2023, 19:23 Narmada Karthika <[email protected]> wrote:

> I am facing below problem with running ansible playbook from Jenkins. I
> specified the location where I have my ansible playbook and inventory file.
>
> sshpass: Failed to run command: No such file or directory FATAL: command
> execution failed hudson.AbortException: Ansible playbook execution failed
> at
> org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:262)
> at
> org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:232)
> at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123) at
> hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:21) at
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:808)
> at hudson.model.Build$BuildExecution.build(Build.java:199) at
> hudson.model.Build$BuildExecution.doRun(Build.java:164) at
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:516)
> at hudson.model.Run.execute(Run.java:1889) at
> hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at
> hudson.model.ResourceController.execute(ResourceController.java:100) at
> hudson.model.Executor.run(Executor.java:433) ERROR: Ansible playbook
> execution failed Finished: FAILURE
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/42bd5af6-a9e3-40d7-9a76-9ab2c433d7efn%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/42bd5af6-a9e3-40d7-9a76-9ab2c433d7efn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFtje5NyBucSVqqZwttcBSq4aONrtgPvxs_AeMtSuD5%3DZCzMjg%40mail.gmail.com.

Reply via email to