Commit 0864ba1c by John Jarvis

updating xserver to check for vars before deploying

parent 4a7951dd
......@@ -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
......
......@@ -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 }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment