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
d3bb7c37
Commit
d3bb7c37
authored
Jan 29, 2016
by
Ben Patterson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2729 from edx/benp/testcourses-users
Enroll test users into testcourses as part of provisioning.
parents
7f4a8db8
4a375d4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
playbooks/roles/testcourses/tasks/deploy.yml
+10
-0
No files found.
playbooks/roles/testcourses/tasks/deploy.yml
View file @
d3bb7c37
...
...
@@ -5,3 +5,13 @@
sudo_user
:
"
{{
common_web_user
}}"
when
:
item.install == True
with_items
:
TESTCOURSES_EXPORTS
-
name
:
enroll test users in the testcourses
shell
:
>
{{ demo_edxapp_venv_bin }}/python ./manage.py lms --settings=aws --service-variant lms enroll_user_in_course -e {{ item[0].email }} -c {{ item[1].course_id }}
chdir={{ demo_edxapp_code_dir }}
sudo_user
:
"
{{
common_web_user
}}"
when
:
item[1].install == True
with_nested
:
-
demo_test_users
-
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