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
2aba9982
Commit
2aba9982
authored
7 years ago
by
Romain CABASSOT
Browse files
Options
Downloads
Patches
Plain Diff
Added handler to restart gitlab-runner service on global setup change.
parent
a70a43d2
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
handlers/main.yml
+2
-1
2 additions, 1 deletion
handlers/main.yml
tasks/global-setup.yml
+2
-0
2 additions, 0 deletions
tasks/global-setup.yml
with
4 additions
and
1 deletion
handlers/main.yml
+
2
−
1
View file @
2aba9982
---
# handlers file for gitlab-runner
-
name
:
restart_gitlab_runner
service
:
name=gitlab-runner state=restarted
This diff is collapsed.
Click to expand it.
tasks/global-setup.yml
+
2
−
0
View file @
2aba9982
...
...
@@ -6,6 +6,7 @@
line
:
'
\1concurrent
=
{{
gitlab_runner_concurrent
}}'
state
:
present
backrefs
:
yes
notify
:
restart_gitlab_runner
-
name
:
Set docker privileged option
lineinfile
:
...
...
@@ -14,4 +15,5 @@
line
:
'
\1privileged
=
{{
gitlab_runner_docker_privileged
|
lower}}'
state
:
present
backrefs
:
yes
notify
:
restart_gitlab_runner
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