Commit b08881bb by Feanil Patel

Give the mysql/openid workaround a better name.

parent 9810f9a0
......@@ -4,7 +4,7 @@
gather_facts: True
vars:
migrate_db: True
mysql5_workaround: True
openid_workaround: True
ansible_ssh_private_key_file: /var/lib/jenkins/continuous-integration.pem
vars_files:
- "{{ secure_dir }}/vars/edxapp_ref_users.yml"
......
......@@ -18,7 +18,7 @@
gather_facts: True
vars:
migrate_db: True
mysql5_workaround: True
openid_workaround: True
ansible_ssh_private_key_file: /var/lib/jenkins/continuous-integration.pem
vars_files:
- "{{ secure_dir }}/vars/edxapp_ref_users.yml"
......
......@@ -20,7 +20,7 @@
gather_facts: True
vars:
migrate_db: True
mysql5_workaround: True
openid_workaround: True
roles:
- common
- nginx
......
......@@ -180,11 +180,12 @@
when: celery_worker is not defined
# https://code.launchpad.net/~wligtenberg/django-openid-auth/mysql_fix/+merge/22726
# This is necessary for the local mysql5.5, not sure if this fix will ever get merged
# This is necessary for when syncdb is run and the django_openid_auth module is installed,
# not sure if this fix will ever get merged
# We should never do this in production
- name: mysql5.5 workaround - NOT FOR PRODUCTION
- name: openid workaround - NOT FOR PRODUCTION
shell: sed -i -e 's/claimed_id = models.TextField(max_length=2047, unique=True/claimed_id = models.TextField(max_length=2047/' /opt/edx/lib/python2.7/site-packages/django_openid_auth/models.py
when: mysql5_workaround is defined
when: openid_workaround is defined
- 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
......
......@@ -4,6 +4,7 @@
gather_facts: True
vars:
migrate_db: True
openid_workaround: True
vars_files:
- "group_vars/all"
- "{{ secure_dir }}/vars/edxapp_ref_users.yml"
......
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