ansible-gitlab-runner
ansible-gitlab-runner copied to clipboard
Fix broken install on ubuntu
I can confirm that @sloev's fix in issue #3 works for me on ubuntu 14.04 so I am making a PR out of it. However, I have not tested this with any other distros.
This should work fine on the other distros. @haroldb Any possibility of merging this?
I do see a problem with this. It isn't idempotent. The curl task should not have to run over and over if the runner is already installed.
I actually agree, and don't think the curl somescript.sh | sudo bash anti-pattern is great either even with https, but will leave the PR open for visibility, since at least one person has found it useful.
Take a look at one of the other forks: https://github.com/DBLaci/ansible-gitlab-runner
They split the repo step out in to 14.04 and 16.04 when blocks. While not quite as flexible for the future, in the interests of visibility on this issue, it is worth pointing out.