Comments (7)
Hmm if the assemble command failed that means it didn't write the latest config.toml. So the one you're looking at may not be the most up to date file (probably it is the one generated from the register command)
You should run ansible playbook again with the -v
or -vv
. This will show you the temp config file it's trying to verify.
It uses gitlab-runner verify
or something command like that on the temp config file.
I think if you check that temp config file, then you should be able to see what's wrong with the config output. That's how I resolved one of the issues I ran into at this same step.
You may also need to update that role task to enable output. I think it is set hide that output from the console.
from ansible-gitlab-runner.
Here is my tmp config:
[root@pbx fail2ban]# cat /tmp/ansible.raFVzVgitlab-runner-config/gitlab-runner.1.nCVTHY
name = "pbx.***.ee"
limit = 0
output_limit = 4096
url = "https://gitlab.***.ru/"
token = "***"
executor = "shell"
[runners.shell]
[runners.custom_build_dir]
[runners.cache]
[runners.cache.gcs]
environment = []
from ansible-gitlab-runner.
I believe the issue maybe the [runners.shell]
section (ie. if you remove the line from your config, it should pass).
But that issue seems like it was recently resolved here: #86
So maybe you can just get the latest changes and try again.
from ansible-gitlab-runner.
Let me push out a release then, since it was not in a release bundle yet.... and done.
from ansible-gitlab-runner.
Hi. Thank you for the fix, but v1.5.3 is still not available for installation from Ansible Galaxy...
from ansible-gitlab-runner.
It is there now, the import failed on the galaxy side, presume some hickup. Did manual trigger and it is there now ;)
from ansible-gitlab-runner.
Works good now, thanks!
from ansible-gitlab-runner.
Related Issues (20)
- 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
- Galaxy role renamed back from ansible-gitlab-runner to gitlab-runner HOT 10
- Reactivating Tests: Topic "systemd and docker" HOT 2
- Causes failures when included by ansible-lint HOT 1
- Can't find package `gitlab-runner` HOT 5
- tls_ca_file not included in container registration HOT 1
- Runtime owner and group for container setup HOT 1
- Deploy multiple executors to single VM
- Fails when GPG key of https://packages.gitlab.com/runner/gitlab-runner is expired HOT 7
- Gitlab-runner does not get deployed correctly after adding additional lines to the configuration HOT 1
- Runner is not being unregistered from Gitlab instance, when setting `state: absent` HOT 2
- (Debian) Install GitLab Runner fail when update in 22.04 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.