Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-runner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
gitlab-runner
Commits
358e4958
Commit
358e4958
authored
9 years ago
by
Harold Barker
Browse files
Options
Downloads
Patches
Plain Diff
Update readme
parent
84cf35da
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+27
-10
27 additions, 10 deletions
README.md
with
27 additions
and
10 deletions
README.md
+
27
−
10
View file @
358e4958
GitLab Runner
GitLab Runner
=============
=============
This role will install the official GitLab Runner
This role will install the
[
official GitLab Runner
](
https://gitlab.com/gitlab-org/gitlab-ci-multi-runner
)
Requirements
Requirements
------------
------------
...
@@ -12,26 +12,26 @@ This role requires Ansible 2.0 or higher.
...
@@ -12,26 +12,26 @@ This role requires Ansible 2.0 or higher.
Role Variables
Role Variables
--------------
--------------
``
`
gitlab_runner_concurrent`
``
`gitlab_runner_concurrent`
The maximum number of jobs to run concurrently.
The maximum number of jobs to run concurrently.
Defaults to the number of processor cores.
Defaults to the number of processor cores.
``
`
gitlab_runner_coordinator_url
`
``
`gitlab_runner_coordinator_url`
The GitLab coordinator URL.
The GitLab coordinator URL.
Defaults to
``
`
https://gitlab.com/ci
`
``
.
Defaults to
`https://gitlab.com/ci`
.
``
`
gitlab_runner_registration_token
`
``
`gitlab_runner_registration_token`
The GitLab registration token.
The GitLab registration token.
``
`
gitlab_runner_description
`
``
`gitlab_runner_description`
The description of the runner.
The description of the runner.
Defaults to the hostname.
Defaults to the hostname.
``
`
gitlab_runner_executor
`
``
`gitlab_runner_executor`
The executor used by the runner.
The executor used by the runner.
Defaults to
``
`
shell
`
``
.
Defaults to
`shell`
.
``
`
gitlab_runner_tags
`
``
`gitlab_runner_tags`
The tags assigned to the runner,
The tags assigned to the runner,
Defaults to an empty list.
Defaults to an empty list.
...
@@ -42,7 +42,24 @@ None
...
@@ -42,7 +42,24 @@ None
Example Playbook
Example Playbook
----------------
----------------
```
yaml
-
hosts
:
all
remote_user
:
root
vars_files
:
-
vars/main.yml
roles
:
-
{
role
:
haroldb.gitlab-runner
}
```
Inside
`vars/main.yml`
```
yaml
gitlab_runner_registration_token
:
'
HUzTMgnxk17YV8Rj8ucQ'
gitlab_runner_description
:
'
Example
GitLab
Runner'
gitlab_runner_tags
:
-
node
-
ruby
-
mysql
```
License
License
-------
-------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment