Commit e33003a7 by e0d

Merge pull request #756 from edx/e0d/migration-env

setting env var for migration password.
parents 02ecd2c5 cc3a092f
......@@ -65,6 +65,8 @@
chdir={{ edxapp_code_dir }}
{{ edxapp_venv_bin}}/python manage.py lms syncdb --migrate --noinput --settings=aws_migrate
when: fake_migrations is not defined and migrate_db is defined and migrate_db|lower == "yes"
environment:
DB_MIGRATION_PASS: "{{ EDXAPP_MYSQL_PASSWORD }}"
sudo_user: "{{ edxapp_user }}"
notify:
- "restart edxapp"
......
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