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
OpenEdx
configuration
Commits
0864ba1c
Commit
0864ba1c
authored
Oct 30, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating xserver to check for vars before deploying
parent
4a7951dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
playbooks/roles/xserver/defaults/main.yml
+2
-2
playbooks/roles/xserver/tasks/main.yml
+4
-0
No files found.
playbooks/roles/xserver/defaults/main.yml
View file @
0864ba1c
...
...
@@ -8,9 +8,9 @@ XSERVER_RUN_URL: ''
XSERVER_LOGGING_ENV
:
'
sandbox'
XSERVER_SYSLOG_SERVER
:
'
'
# For 6.00x use "{{ xserver_data_dir }}/data/content-mit-600x~2012_Fall"
XSERVER_GRADER_DIR
:
"
{{
xserver_data_dir
}}/data/edx-demo-course
"
XSERVER_GRADER_DIR
:
"
"
# For 6.00x use "git@github.com:/MITx/6.00x.git"
XSERVER_GRADER_SOURCE
:
"
https://{{
COMMON_GIT_MIRROR
}}/edx/edx-demo-course.git
"
XSERVER_GRADER_SOURCE
:
"
"
# by default do not check out the content
...
...
playbooks/roles/xserver/tasks/main.yml
View file @
0864ba1c
...
...
@@ -3,6 +3,10 @@
# access to the edX 6.00x repo which is not public
---
-
name
:
xserver | checking for grader info
fail
:
msg="You must define XSERVER_GRADER_DIR and XSERVER_GRADER_SOURCE to use this role!"
when
:
XSERVER_GRADER_DIR == "" or XSERVER_GRADER_SOURCE == ""
-
name
:
xserver | create application user
user
:
>
name="{{ xserver_user }}"
...
...
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