Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-runner
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
0
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
bff021ff
Commit
bff021ff
authored
9 years ago
by
Harold Barker
Browse files
Options
Downloads
Patches
Plain Diff
Set global options
parent
f2a357bd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
defaults/main.yml
+2
-1
2 additions, 1 deletion
defaults/main.yml
tasks/global-setup.yml
+7
-0
7 additions, 0 deletions
tasks/global-setup.yml
tasks/main.yml
+3
-0
3 additions, 0 deletions
tasks/main.yml
with
12 additions
and
1 deletion
defaults/main.yml
+
2
−
1
View file @
bff021ff
---
# defaults file for gitlab-runner
# Maximum number of jobs to run concurrently
gitlab_runner_concurrent
:
'
{{
ansible_processor_cores
}}'
This diff is collapsed.
Click to expand it.
tasks/global-setup.yml
0 → 100644
+
7
−
0
View file @
bff021ff
---
-
name
:
Set concurrent option
lineinfile
:
dest
:
/etc/gitlab-runner/config.toml
regexp
:
^concurrent =
line
:
concurrent = {{ gitlab_runner_concurrent }}
state
:
present
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
3
−
0
View file @
bff021ff
...
...
@@ -2,3 +2,6 @@
-
name
:
Install GitLab Runner (RedHat)
include
:
install-redhat.yml
when
:
ansible_os_family == 'RedHat'
-
name
:
Set global options
include
:
global-setup.yml
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