Comments (3)
Have not noticed that before, might be good to combine fixing of things like this with the rerun of new config values for the config.toml
p.s. concerning your other 2 merge request those are merged, if you have more then i can combine those all to make a release. Let me know if you need a new release since it will push it to galaxy then.
from ansible-gitlab-runner.
The problem here is that the privileged
property is set in global-setup.yml
, which is run before register-runner.yml
, so on the first run the value of privileged
comes from register-runner.yml
, and on the second run register-runner.yml
is not run because there is already a runner registered so it leaves the value that global-setup.yml
set.
The solution to this particular issue is simply including the --docker-privileged
flag in the runner registration command. I'll create a pull request for this in a minute.
If we find a good way to rerun registration we should be able to get rid of the global-setup.yml
and instead rely on command line options to gitlab-runner register
.
Re:ansible-galaxy Thank you, that would be most appreciated.
from ansible-gitlab-runner.
pushed to galaxy
from ansible-gitlab-runner.
Related Issues (20)
- New runner register system. HOT 11
- Decouple scripts from the registration command to prevent execution errors HOT 1
- force_accept_gitlab_server_self_signed undefined variable errors HOT 3
- No condition to not run docker option configuration HOT 3
- Running Gitlab-Runner with a different user HOT 4
- "The conditional check ''Executor' in json_item' failed HOT 4
- ansible-lint HOT 7
- "The conditional check ''Executor' in json_item' failed HOT 4
- Support of gitlab 15.6+ runners registration way. HOT 13
- "No package matching 'gitlab-runner' is available" HOT 14
- Removed from galaxy HOT 7
- Support for AlmaLinux HOT 3
- Support for (pre,post)_*_script in gitlab-runner config HOT 2
- Set additional services is failing due to missing variable HOT 8
- Invalid config.toml for azure and gcp cache HOT 3
- How to set custom_build_dir_enabled as variable HOT 1
- Error when upgrading from gitlab-runner version 15.0.0 to 16.6.0 HOT 2
- Default branch name HOT 5
- Debian Unhold: Failed to find package from ansible-core >=2.16 HOT 1
- Support for docker tmpfs options HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-gitlab-runner.