Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GitLab Runner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
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
Roles
GitLab Runner
Commits
8901cf42
Commit
8901cf42
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Linting
parent
57a8da20
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/main.yml
+15
-13
15 additions, 13 deletions
tasks/main.yml
with
15 additions
and
13 deletions
tasks/main.yml
+
15
−
13
View file @
8901cf42
...
...
@@ -5,27 +5,29 @@
---
# file: roles/gitlab-runner/tasks/main.yml
-
name
:
"
GitLab
Runner
Role"
set_fact
:
role_gitlab_runner_started=true
tags
:
'
always'
-
name
:
GitLab Runner Role
set_fact
:
role_gitlab_runner_started
:
yes
tags
:
-
always
-
block
:
-
name
:
"
Apt
Key
"
-
name
:
Apt Key
apt_key
:
url
:
'
https://packages.gitlab.com/runner/gitlab-runner/gpgkey
'
url
:
https://packages.gitlab.com/runner/gitlab-runner/gpgkey
state
:
present
-
name
:
"
Apt
Repository
"
-
name
:
Apt Repository
apt_repository
:
repo
:
'
deb
https://packages.gitlab.com/runner/gitlab-runner/ubuntu/
{{
ansible_distribution_release
}}
main
'
state
:
'
present
'
mode
:
'
644
'
repo
:
deb https://packages.gitlab.com/runner/gitlab-runner/ubuntu/ {{ ansible_distribution_release }} main
state
:
present
mode
:
644
-
name
:
"
Install
GitLab
Runner
"
-
name
:
Install GitLab Runner
apt
:
pkg
:
'
gitlab-runner
'
state
:
'
present
'
pkg
:
gitlab-runner
state
:
present
update_cache
:
yes
when
:
'
"gitlab-runner"
not
in
excluded_roles
'
when
:
not excluded_roles or
"gitlab-runner" not in excluded_roles
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