-
Bug
-
Resolution: Not A Defect
-
Major
-
Jenkis 2.32.3 running in Docker (https://hub.docker.com/_/jenkins/).
Ansible plugin is 0.6.2
I am trying to run the following roles (does not matter which one):
https://github.com/angstwad/docker.ubuntu
https://github.com/lexrus/ansible-role-docker
It requires sshpass to run these, as I don't have it installed, I get the following:
[Install Docker Environment] $ sshpass ******** /usr/local/bin/ansible-playbook /var/jenkins_home/ansible/docker/install_docker.yml -i /tmp/inventory2329019756205489228.ini -f 5 -u root -k FATAL: command execution failed java.io.IOException: Cannot run program "sshpass" (in directory "/var/jenkins_home/workspace/Server Management/Install Docker Environment"): error=2, No such file or directory
Ok so I tried to install sshpass with apt-get install sshpass and also from source. After I install it and try to build this job, I get nothing, the build won't run at all, the jenkins log has no information at all just the usal Jenkins started, etc.
As soon when I remove the sshpass from the system, it can start the build but again it won't find sshpass and will present the error above.