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
54e4cd8d
Commit
54e4cd8d
authored
Jun 12, 2018
by
Stuart Young
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
curl files from files.edx.org for jenkins worker
parent
d2d5a46a
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 @
54e4cd8d
...
@@ -17,18 +17,13 @@
...
@@ -17,18 +17,13 @@
ignore_errors
:
yes
ignore_errors
:
yes
-
name
:
Get the authorized key that should be used for this machine.
-
name
:
Get the authorized key that should be used for this machine.
authorized_key
:
shell
:
"
curl
{{
jenkins_worker_key_url
}}
-o
{{
jenkins_home
}}/.ssh/authorized_keys"
user
:
"
{{
jenkins_user
}}"
state
:
present
key
:
"
{{
jenkins_worker_key_url
}}"
when
:
jenkins_worker_key_url is defined
when
:
jenkins_worker_key_url is defined
ignore_errors
:
yes
-
name
:
Set key permissions
-
name
:
Set key permissions
file
:
file
:
path={{ jenkins_home }}/.ssh/authorized_keys
path={{ jenkins_home }}/.ssh/authorized_keys
owner={{ jenkins_user }} group={{ jenkins_group }} mode=400
owner={{ jenkins_user }} group={{ jenkins_group }} mode=400
ignore_errors
:
yes
-
name
:
Install system packages
-
name
:
Install system packages
apt
:
pkg={{','.join(jenkins_debian_pkgs)}}
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