You've already forked gitlab-runner
27 lines
1003 B
Markdown
27 lines
1003 B
Markdown
# gitlab-runner
|
|
|
|
Simple Ansible role for gitlab-runner installation.
|
|
|
|
## Usage (example)
|
|
|
|
```yaml
|
|
- role: gitlab-runner
|
|
gitlab_runner_registration_token: "secret_string"
|
|
gitlab_runner_executor: "shell"
|
|
```
|
|
|
|
## Available parameters
|
|
|
|
### Main
|
|
|
|
| Param | Default | Description |
|
|
| -------- | -------- | -------- |
|
|
| `gitlab_runner_registration_token` | `""` | GitLab runner registration token. |
|
|
| `gitlab_runner_executor` | `""` | GitLab runner executor. Support: `shell` or `docker` |
|
|
| `gitlab_runner_user` | `gitlab-runner` | Running GitLab runner under the user |
|
|
| `gitlab_runner_instance_url` | `https://gitlab.com` | GitLab instance URL |
|
|
| `gitlab_runner_working_directory` | `/home/gitlab-runner` | GitLab Runner working directory |
|
|
| `gitlab_runner_runner_description` | `The runner was registered using ansible.` | GitLab runner description |
|
|
| `gitlab_runner_docker_default_image` | `alpine` | GitLab runner default image |
|
|
| `gitlab_runner_tags` | `""` | GitLab runner tags |
|