Closed danidoni closed 3 years ago
After a successful deployment, ansible-obs tries to show the deployed commit to the console, but fails with:
TASK [get obs deployed version] ************************************************************************************************************************************************************************************************************** task path: /home/ddonisa/ansible-obs/includes/github-deployment.yml:2 fatal: [obs]: FAILED! => {"changed": true, "cmd": "bin/obs_deploy dv | cut -f2 -d':' | xargs", "delta": "0:00:00.516870", "end": "2021-08-30 11:17:56.494376", "msg": "non-zero return code", "rc": 127, "start": "2021-08-30 11:17:55.977506", "stderr": "/bin/sh: line 1: xargs: command not found", "stderr_lines": ["/bin/sh: line 1: xargs: command not found"], "stdout": "", "stdout_lines": []}
The required binary xargs does not exist in the dockerized container:
xargs
ddonisa@ba522cbacbad:~/ansible-obs> xargs bash: xargs: command not found
Addressed in #36
After a successful deployment, ansible-obs tries to show the deployed commit to the console, but fails with:
The required binary
xargs
does not exist in the dockerized container: