Commit 04d7b391 by arbabnazar

change the variables name to match the role

parent 0f4a560c
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
# #
TESTCOURSES_EXPORTS: [] TESTCOURSES_EXPORTS: []
demo_test_users: testcourses_users:
- email: 'honor@example.com' - email: 'honor@example.com'
mode: honor mode: honor
password: edx password: edx
...@@ -23,7 +23,7 @@ demo_test_users: ...@@ -23,7 +23,7 @@ demo_test_users:
mode: verified mode: verified
password: edx password: edx
demo_edxapp_user: 'edxapp' testcourses_edxapp_user: 'edxapp'
demo_edxapp_venv_bin: '{{ COMMON_APP_DIR }}/{{ demo_edxapp_user }}/venvs/{{demo_edxapp_user}}/bin' testcourses_edxapp_venv_bin: '{{ COMMON_APP_DIR }}/{{ testcourses_edxapp_user }}/venvs/{{ testcourses_edxapp_user }}/bin'
demo_edxapp_course_data_dir: '{{ COMMON_DATA_DIR }}/{{ demo_edxapp_user }}/data' testcourses_edxapp_course_data_dir: '{{ COMMON_DATA_DIR }}/{{ testcourses_edxapp_user }}/data'
demo_edxapp_code_dir: '{{ COMMON_APP_DIR }}/{{ demo_edxapp_user }}/edx-platform' testcourses_edxapp_code_dir: '{{ COMMON_APP_DIR }}/{{ testcourses_edxapp_user }}/edx-platform'
\ No newline at end of file
--- ---
- name: import the test courses from github - name: import the test courses from github
shell: > shell: >
{{ demo_edxapp_venv_bin }}/python /edx/bin/manage.edxapp lms git_add_course --settings=aws "{{ item.github_url }}" {{ testcourses_edxapp_venv_bin }}/python /edx/bin/manage.edxapp lms git_add_course --settings=aws "{{ item.github_url }}"
sudo_user: "{{ common_web_user }}" sudo_user: "{{ common_web_user }}"
when: item.install == True when: item.install == True
with_items: TESTCOURSES_EXPORTS with_items: TESTCOURSES_EXPORTS
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