Commit 99e691d5 by Ibrahim

add create_course command

parent 9c3abfdb
......@@ -5,3 +5,12 @@ WHITELABEL_MYSQL_COMMANDS:
WHITELABEL_THEME_DIR: "edx-themes"
WHITELABEL_COURSE_TITLE: "test_course"
WHITELABEL_COURSE_RUN: "2017"
WHITELABEL_MODULE_STORE: "split"
WHITELABEL_ADMIN_USER: "admin@example.com"
WHITELABEL_ORG:
- 'MITxPRO'
- 'HarvardMedGlobalAcademy'
- 'WhartonOnlineProfessionalEd'
......@@ -7,6 +7,15 @@
become_user: "{{ edxapp_user }}"
environment: "{{ edxapp_environment }}"
# CMS
- name: Create Courses
shell: >
{{ COMMON_BIN_DIR }}/python.edxapp {{ COMMON_BIN_DIR }}/manage.edxapp cms --settings={{ COMMON_EDXAPP_SETTINGS }}
create_course {{ WHITELABEL_MODULE_STORE }} {{ WHITELABEL_ADMIN_USER }} MITxPRO {{ WHITELABEL_COURSE_TITLE }}
{{ WHITELABEL_COURSE_RUN }}
become_user: "{{ edxapp_user }}"
environment: "{{ edxapp_environment }}"
# Discovery
- name: Run discovery playbook
......
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