Skip to content
Snippets Groups Projects
Commit 4f03194c authored by Erik-jan Riemers's avatar Erik-jan Riemers Committed by GitHub
Browse files

Changed role and why this new one.

parent e69999c0
No related branches found
No related tags found
No related merge requests found
...@@ -2,13 +2,13 @@ GitLab Runner ...@@ -2,13 +2,13 @@ GitLab Runner
============= =============
This role will install the [official GitLab Runner](https://gitlab.com/gitlab-org/gitlab-ci-multi-runner) This role will install the [official GitLab Runner](https://gitlab.com/gitlab-org/gitlab-ci-multi-runner)
(fork from haroldb) with updates. Needed something simple and working, this did the trick for me. Open for changes though.
Requirements Requirements
------------ ------------
This role requires Ansible 2.0 or higher. This role requires Ansible 2.0 or higher.
Role Variables Role Variables
-------------- --------------
...@@ -38,11 +38,6 @@ The default Docker image to use. Required when executor is `docker`. ...@@ -38,11 +38,6 @@ The default Docker image to use. Required when executor is `docker`.
The tags assigned to the runner, The tags assigned to the runner,
Defaults to an empty list. Defaults to an empty list.
Dependencies
------------
None
Example Playbook Example Playbook
---------------- ----------------
```yaml ```yaml
...@@ -51,7 +46,7 @@ Example Playbook ...@@ -51,7 +46,7 @@ Example Playbook
vars_files: vars_files:
- vars/main.yml - vars/main.yml
roles: roles:
- { role: haroldb.gitlab-runner } - { role: riemers.gitlab-runner }
``` ```
Inside `vars/main.yml` Inside `vars/main.yml`
...@@ -62,9 +57,7 @@ gitlab_runner_tags: ...@@ -62,9 +57,7 @@ gitlab_runner_tags:
- node - node
- ruby - ruby
- mysql - mysql
gitlab_runner_docker_volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "/cache"
``` ```
License
-------
MIT
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment