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
b98c4f37
Commit
b98c4f37
authored
Dec 11, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change the repo for certificates and fix checkout
parent
766fdd20
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
playbooks/roles/certs/defaults/main.yml
+1
-1
playbooks/roles/certs/tasks/deploy.yml
+10
-0
No files found.
playbooks/roles/certs/defaults/main.yml
View file @
b98c4f37
...
...
@@ -35,7 +35,7 @@ CERTS_LOCAL_PRIVATE_KEY: "example-private-key.txt"
# This defaults to the public certificates repo which is
# used for open-edx
CERTS_REPO
:
"
https://github.com/edx/
read-only-certificate-code
"
CERTS_REPO
:
"
https://github.com/edx/
edx-certificates
"
CERTS_NGINX_PORT
:
18090
CERTS_WEB_ROOT
:
"
{{
certs_data_dir
}}/www-data"
CERTS_URL
:
"
http://localhost:{{
CERTS_NGINX_PORT
}}"
...
...
playbooks/roles/certs/tasks/deploy.yml
View file @
b98c4f37
...
...
@@ -53,6 +53,16 @@
environment
:
GIT_SSH
:
"
{{
certs_git_ssh
}}"
register
:
certs_checkout
when
:
CERTS_GIT_IDENTITY != "none"
notify
:
restart certs
-
name
:
checkout certificates repo into {{ certs_code_dir }}
git
:
>
dest={{ certs_code_dir }} repo={{ CERTS_REPO }} version={{ certs_version }}
accept_hostkey=yes
sudo_user
:
"
{{
certs_user
}}"
register
:
certs_checkout
when
:
CERTS_GIT_IDENTITY == "none"
notify
:
restart certs
-
name
:
remove read-only ssh key for the certs repo
...
...
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