-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ansible: increase MaxStartups for jenkins-workspace
This is necessary when many workers running tests try to access the temp repo to download binaries simultaneously. PR-URL: #1515 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
- Loading branch information
1 parent
a1957ef
commit bd5a1fc
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
|
||
# | ||
# generic handlers for jenkins-workspace stuff | ||
# | ||
|
||
- name: restart sshd | ||
service: name="{{ sshd_service_name }}" state=restarted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
|
||
# | ||
# variables for jenkins-workspace | ||
# | ||
|
||
ssh_config: /etc/ssh/sshd_config | ||
|
||
sshd_service_map: { | ||
'ubuntu1604': 'ssh', | ||
} | ||
|
||
sshd_service_name: "{{ sshd_service_map[os]|default(sshd_service_map[os|stripversion])|default('sshd') }}" |