Commit ee99a432 by Feanil Patel

Removing migrate_db from group_vars/all.

Putting migratedb in group_vars/all overrides any vars
in playbook files and so migrations never get run.
parent 54851d92
...@@ -14,6 +14,3 @@ secure_dir: 'secure_example' ...@@ -14,6 +14,3 @@ secure_dir: 'secure_example'
# this indicates the path to site-specific (with precedence) # this indicates the path to site-specific (with precedence)
# things like nginx template files # things like nginx template files
local_dir: '../../ansible_local' local_dir: '../../ansible_local'
# default is not to migrate_db
migrate_db: false
\ No newline at end of file
...@@ -188,7 +188,7 @@ ...@@ -188,7 +188,7 @@
- name: syncdb and migrate - name: syncdb and migrate
shell: sudo -u www-data SERVICE_VARIANT=lms /opt/edx/bin/django-admin.py syncdb --migrate --noinput --settings=lms.envs.aws --pythonpath=/opt/wwc/edx-platform shell: sudo -u www-data SERVICE_VARIANT=lms /opt/edx/bin/django-admin.py syncdb --migrate --noinput --settings=lms.envs.aws --pythonpath=/opt/wwc/edx-platform
when: migrate_db when: migrate_db is defined
tags: tags:
- deploy - deploy
- lms - lms
......
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