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
5ef83300
Commit
5ef83300
authored
9 years ago
by
Harold Barker
Browse files
Options
Downloads
Patches
Plain Diff
Add gitlab_runner_docker_image option
parent
9bbda69f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+3
-0
3 additions, 0 deletions
README.md
defaults/main.yml
+2
-0
2 additions, 0 deletions
defaults/main.yml
tasks/register-runner.yml
+1
-0
1 addition, 0 deletions
tasks/register-runner.yml
with
6 additions
and
0 deletions
README.md
+
3
−
0
View file @
5ef83300
...
...
@@ -31,6 +31,9 @@ Defaults to the hostname.
The executor used by the runner.
Defaults to
`shell`
.
`gitlab_runner_docker_image`
The default Docker image to use. Required when executor is
`docker`
.
`gitlab_runner_tags`
The tags assigned to the runner,
Defaults to an empty list.
...
...
This diff is collapsed.
Click to expand it.
defaults/main.yml
+
2
−
0
View file @
5ef83300
...
...
@@ -10,5 +10,7 @@ gitlab_runner_registration_token: ''
gitlab_runner_description
:
'
{{
ansible_hostname
}}'
# Runner executor
gitlab_runner_executor
:
'
shell'
# Default Docker image
gitlab_runner_docker_image
:
'
'
# Runner tags
gitlab_runner_tags
:
[]
This diff is collapsed.
Click to expand it.
tasks/register-runner.yml
+
1
−
0
View file @
5ef83300
...
...
@@ -12,4 +12,5 @@
--description '{{ gitlab_runner_description }}'
--tag-list '{{ gitlab_runner_tags | join(",") }}'
--executor '{{ gitlab_runner_executor }}'
--docker-image '{{ gitlab_runner_docker_image }}'
when
:
configured_runners.stderr.find('\n{{ gitlab_runner_description }}') == -1
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