Example does not work
See original GitHub issueIt seems that the following example playbook from the readme cannot be run:
gitlab_runner_registration_token: 'HUzTMgnxk17YV8Rj8ucQ'
gitlab_runner_runners:
- name: 'Example Docker GitLab Runner'
executor: docker
tags:
- node
- ruby
- mysql
docker_volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "/cache"
extra_configs:
runners.docker:
memory: 512m
allowed_images: ["ruby:*", "python:*", "php:*"]
runners.docker.sysctls:
net.ipv4.ip_forward: "1"
As the docker image is not specified and not defined in the default. Extract from defaults:
# The default Docker image to use. Required when executor is `docker`.
docker_image: ''
I get the following error from ansible:
The docker-image needs to be entered
Possible fix is to update the example to:
gitlab_runner_registration_token: 'HUzTMgnxk17YV8Rj8ucQ'
gitlab_runner_runners:
- name: 'Example Docker GitLab Runner'
executor: docker
docker_image: 'alpine'
tags:
- node
- ruby
- mysql
docker_volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "/cache"
extra_configs:
runners.docker:
memory: 512m
allowed_images: ["ruby:*", "python:*", "php:*"]
runners.docker.sysctls:
net.ipv4.ip_forward: "1"
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Use does not work in a sentence - Examples - Bab.la
How to use "does not work" in a sentence? · Does it work? · But does it work? · But it does not...
Read more >How to not run an example using roxygen2? - Stack Overflow
If you use dontrun{} , then the user can call example(myFunction, run. dontrun=TRUE) , whereas if you simply comment out the examples, you...
Read more >Helmet example does not work · Issue #1412 · nestjs/docs ...
The example supplied in the documentation's Security page to apply Helmet as a global middleware is wrong. If the user wishes to apply...
Read more >Common Build Problems - Travis CI Docs
Common Build Problems · My tests broke but were working yesterday · My build script is killed without any error · My build...
Read more >Ray serve example does not work
Hi, I ran the example code from here import ray from ray import serve import requests ray.init(num_cpus=4) client = serve.start() def say_hello(request): ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
liked the idea ;p
Awesome. Thanks for the quick fix 😃