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
04d7b391
Commit
04d7b391
authored
Jan 29, 2016
by
arbabnazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change the variables name to match the role
parent
0f4a560c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
playbooks/roles/testcourses/defaults/main.yml
+6
-5
playbooks/roles/testcourses/tasks/deploy.yml
+1
-1
No files found.
playbooks/roles/testcourses/defaults/main.yml
View file @
04d7b391
...
...
@@ -12,7 +12,7 @@
#
TESTCOURSES_EXPORTS
:
[]
demo_test
_users
:
testcourses
_users
:
-
email
:
'
honor@example.com'
mode
:
honor
password
:
edx
...
...
@@ -23,7 +23,7 @@ demo_test_users:
mode
:
verified
password
:
edx
demo
_edxapp_user
:
'
edxapp'
demo_edxapp_venv_bin
:
'
{{
COMMON_APP_DIR
}}/{{
demo_edxapp_user
}}/venvs/{{demo_edxapp_user
}}/bin'
demo_edxapp_course_data_dir
:
'
{{
COMMON_DATA_DIR
}}/{{
demo
_edxapp_user
}}/data'
demo_edxapp_code_dir
:
'
{{
COMMON_APP_DIR
}}/{{
demo
_edxapp_user
}}/edx-platform'
testcourses
_edxapp_user
:
'
edxapp'
testcourses_edxapp_venv_bin
:
'
{{
COMMON_APP_DIR
}}/{{
testcourses_edxapp_user
}}/venvs/{{
testcourses_edxapp_user
}}/bin'
testcourses_edxapp_course_data_dir
:
'
{{
COMMON_DATA_DIR
}}/{{
testcourses
_edxapp_user
}}/data'
testcourses_edxapp_code_dir
:
'
{{
COMMON_APP_DIR
}}/{{
testcourses
_edxapp_user
}}/edx-platform'
\ No newline at end of file
playbooks/roles/testcourses/tasks/deploy.yml
View file @
04d7b391
---
-
name
:
import the test courses from github
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
}}"
when
:
item.install == True
with_items
:
TESTCOURSES_EXPORTS
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