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
04d5bcc0
Commit
04d5bcc0
authored
Oct 03, 2017
by
Feanil Patel
Committed by
GitHub
Oct 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actually the extra var provides no value.
Just use the one in common that's always defined.
parent
e61ccf35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
17 deletions
+1
-17
playbooks/roles/edxapp/tasks/deploy.yml
+1
-17
No files found.
playbooks/roles/edxapp/tasks/deploy.yml
View file @
04d5bcc0
...
...
@@ -418,28 +418,12 @@
tags
:
-
manage
-
name
:
build service worker users list
set_fact
:
service_worker_users
:
"
{{
[SERVICE_WORKER_USERS]
}}"
when
:
CREATE_SERVICE_WORKER_USERS
tags
:
-
manage
-
manage:db
-
name
:
build service empty worker users list
set_fact
:
service_worker_users
:
"
{{
[]
}}"
when
:
not CREATE_SERVICE_WORKER_USERS
tags
:
-
manage
-
manage:db
-
name
:
create service worker users
shell
:
"
{{
edxapp_venv_bin
}}/python
./manage.py
lms
--settings={{
edxapp_settings
}}
--service-variant
lms
manage_user
{{
item.username}}
{{
item.email
}}
--unusable-password
{%
if
item.is_staff
%}
--staff{%
endif
%}"
args
:
chdir
:
"
{{
edxapp_code_dir
}}"
become_user
:
"
{{
common_web_user
}}"
with_items
:
"
{{
service_worker_users
}}"
with_items
:
"
{{
SERVICE_WORKER_USERS
}}"
when
:
CREATE_SERVICE_WORKER_USERS
tags
:
-
manage
...
...
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