Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
f1c79df8
Unverified
Commit
f1c79df8
authored
Jun 13, 2018
by
Stu Young
Committed by
GitHub
Jun 13, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4617 from edx/estute/TE-2594-pt-3
curl files from files.edx.org for jenkins worker
parents
175e7ed8
54e4cd8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
6 deletions
+1
-6
playbooks/roles/jenkins_worker/tasks/system.yml
+1
-6
No files found.
playbooks/roles/jenkins_worker/tasks/system.yml
View file @
f1c79df8
...
...
@@ -17,18 +17,13 @@
ignore_errors
:
yes
-
name
:
Get the authorized key that should be used for this machine.
authorized_key
:
user
:
"
{{
jenkins_user
}}"
state
:
present
key
:
"
{{
jenkins_worker_key_url
}}"
shell
:
"
curl
{{
jenkins_worker_key_url
}}
-o
{{
jenkins_home
}}/.ssh/authorized_keys"
when
:
jenkins_worker_key_url is defined
ignore_errors
:
yes
-
name
:
Set key permissions
file
:
path={{ jenkins_home }}/.ssh/authorized_keys
owner={{ jenkins_user }} group={{ jenkins_group }} mode=400
ignore_errors
:
yes
-
name
:
Install system packages
apt
:
pkg={{','.join(jenkins_debian_pkgs)}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment