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
647ac484
Commit
647ac484
authored
Dec 27, 2016
by
Fred Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
become true for managing users and groups
parent
21c19b48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
playbooks/edx-east/manage_edxapp_users_and_groups.yml
+6
-0
No files found.
playbooks/edx-east/manage_edxapp_users_and_groups.yml
View file @
647ac484
...
...
@@ -79,6 +79,8 @@
manage_path
:
/edx/bin/manage.edxapp
ignore_user_creation_errors
:
no
deployment_settings
:
"
{{
EDXAPP_SETTINGS
|
default('aws')
}}"
vars_files
:
-
roles/common_vars/defaults/main.yml
tasks
:
-
name
:
Manage groups
shell
:
>
...
...
@@ -87,6 +89,8 @@
{% if item.get('permissions', []) | length %}--permissions {{ item.permissions | default([]) | map('quote') | join(' ') }}{% endif %}
{% if item.get('remove') %}--remove{% endif %}
with_items
:
"
{{
django_groups
}}"
become
:
true
become_user
:
"
{{
common_web_user
}}"
-
name
:
Manage users
shell
:
>
...
...
@@ -101,3 +105,5 @@
with_items
:
"
{{
django_users
}}"
register
:
manage_users_result
failed_when
:
(manage_users_result | failed) and not (ignore_user_creation_errors | bool)
become
:
true
become_user
:
"
{{
common_web_user
}}"
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