Unverified Commit d98389b7 by Kevin Falcone Committed by GitHub

Merge pull request #4360 from edx/jibsheet/xqueue-manage_users

Have update_users only happen when services are running
parents 0bda1c59 a60f286b
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
- Role: xqueue - Role: xqueue
- Remove S3_BUCKET and S3_PATH_PREFIX - they were deprecated prior to ginkgo - Remove S3_BUCKET and S3_PATH_PREFIX - they were deprecated prior to ginkgo
- Remove SERVICE_VARIANT - it was copied from edxapp but never truly used (except to complicate things) - Remove SERVICE_VARIANT - it was copied from edxapp but never truly used (except to complicate things)
- The manage_users management command is only run when disable_edx_services is false (previously this play would try
to update databases while building images, where services are generally disabled).
- Role: edxapp - Role: edxapp
- Added `ENTERPRISE_REPORTING_SECRET` to CMS auth settings to allow edx-enterprise migrations to run. - Added `ENTERPRISE_REPORTING_SECRET` to CMS auth settings to allow edx-enterprise migrations to run.
......
...@@ -102,6 +102,7 @@ ...@@ -102,6 +102,7 @@
- name: Create users - name: Create users
shell: "SERVICE_VARIANT=xqueue {{ xqueue_venv_bin }}/django-admin.py update_users --settings=xqueue.{{ XQUEUE_SETTINGS }} --pythonpath={{ xqueue_code_dir }}" shell: "SERVICE_VARIANT=xqueue {{ xqueue_venv_bin }}/django-admin.py update_users --settings=xqueue.{{ XQUEUE_SETTINGS }} --pythonpath={{ xqueue_code_dir }}"
become_user: "{{ xqueue_user }}" become_user: "{{ xqueue_user }}"
when: not disable_edx_services
tags: tags:
- manage - manage
- manage:app-users - manage:app-users
......
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