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
9bbda69f
Commit
9bbda69f
authored
9 years ago
by
Harold Barker
Browse files
Options
Downloads
Plain Diff
Merge pull request
#1
from kostyrevaa/master
Import gpg_key on RedHat
parents
08f21677
b8f21c77
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/install-redhat.yml
+10
-0
10 additions, 0 deletions
tasks/install-redhat.yml
tasks/register-runner.yml
+1
-0
1 addition, 0 deletions
tasks/register-runner.yml
with
11 additions
and
0 deletions
tasks/install-redhat.yml
+
10
−
0
View file @
9bbda69f
---
---
-
name
:
RHEL | Install GitLab GPG key
rpm_key
:
state
:
present
key
:
https://packages.gitlab.com/gpg.key
when
:
ansible_os_family == 'RedHat'
tags
:
-
gitlab
-
gitlab-gpg
-
name
:
Install GitLab Runner dependencies
-
name
:
Install GitLab Runner dependencies
yum
:
yum
:
name
:
'
{{
item
}}'
name
:
'
{{
item
}}'
...
...
This diff is collapsed.
Click to expand it.
tasks/register-runner.yml
+
1
−
0
View file @
9bbda69f
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
-
name
:
List configured runners
-
name
:
List configured runners
command
:
gitlab-runner list
command
:
gitlab-runner list
register
:
configured_runners
register
:
configured_runners
changed_when
:
False
-
name
:
Register runner to GitLab
-
name
:
Register runner to GitLab
command
:
gitlab-runner register >
command
:
gitlab-runner register >
...
...
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