-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing sudo rights #70
Comments
Well normally it does run under root, if you have docker options in gitlab runnner it needs it. So yes in my ansible jobs i have become: true. If there are still some becomes it might be because the role has had so many adjustments over time that it could be from that part. However you could install gitlabr runner under its own user account and not add things like a gitlab runner docker which requires root. Perhaps that is why they are still there, have not tried that though. |
Thanks for the quick response. I am not worried about installing gitlab-runner under root, but it would be cleaner to set |
since most people would use it with become:true for the whole playbook anyway. I don't see any downsides if you want to do a PR for that. Only plus sides :) |
Thanks for providing this role!
Unfortunately, I am getting this error:
To me it looks like you are missing
become: true
for theInstall GitLab Runner
play ininstall-debian.yml
(and ininstall-redhat.yml
too).Even when I fix this there seem to be more missing
become: true
lines in a few places where/etc/gitlab-runner/config.toml
is modified:Get existing config.toml
intasks/config-runners.yml
tasks/global-setup.yml
Am I supposed to run the whole role with
become: true
? And if yes why are there somebecome: true
lines in your role then (e.g. in theInstall Gitlab repository
play ininstall-debian.yml
) ?The text was updated successfully, but these errors were encountered: