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
02b0cc59
Commit
02b0cc59
authored
8 years ago
by
Paul B
Committed by
Paul B
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Debian: allow custom Debian package version
In order to fix the gitlab runner version
parent
1b73dfc1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/install-debian.yml
+12
-2
12 additions, 2 deletions
tasks/install-debian.yml
with
12 additions
and
2 deletions
tasks/install-debian.yml
+
12
−
2
View file @
02b0cc59
...
...
@@ -3,7 +3,17 @@
-
name
:
Install Gitlab repository
shell
:
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.deb.sh | sudo bash
-
set_fact
:
gitlab_runner_package_name
:
"
gitlab-ci-multi-runner={{
gitlab_runner_package_version
}}"
gitlab_runner_package_state
:
"
present"
when
:
gitlab_runner_package_version is defined
-
set_fact
:
gitlab_runner_package_name
:
"
gitlab-ci-multi-runner"
gitlab_runner_package_state
:
"
latest"
when
:
gitlab_runner_package_version is not defined
-
name
:
Install GitLab Runner
apt
:
name
:
gitlab
-ci-multi-runner
state
:
present
name
:
"
{{
gitlab
_runner_package_name
}}"
state
:
"
{{
gitlab_runner_package_state
}}"
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