Commit 7992df42 by Xavier Antoviaque

edxapp-perm-fixes: Make sure virtualenv exists before using python

parent 189668db
...@@ -39,10 +39,6 @@ ...@@ -39,10 +39,6 @@
sudo_user: "{{ edxapp_user }}" sudo_user: "{{ edxapp_user }}"
tags: deploy tags: deploy
- name: edxapp | compiling all py files in the edx-platform repo
shell: "{{ edxapp_venv_bin }}/python -m compileall {{ edxapp_code_dir }}"
tags: deploy
- name: edxapp | checkout theme - name: edxapp | checkout theme
git: dest={{ edxapp_app_dir }}/themes/{{edxapp_theme_name}} repo={{edxapp_theme_source_repo}} version={{edxapp_theme_version}} git: dest={{ edxapp_app_dir }}/themes/{{edxapp_theme_name}} repo={{edxapp_theme_source_repo}} version={{edxapp_theme_version}}
when: edxapp_theme_name != '' when: edxapp_theme_name != ''
...@@ -174,6 +170,9 @@ ...@@ -174,6 +170,9 @@
sudo_user: "{{ edxapp_user }}" sudo_user: "{{ edxapp_user }}"
tags: deploy tags: deploy
- name: edxapp | compiling all py files in the edx-platform repo
shell: "{{ edxapp_venv_bin }}/python -m compileall {{ edxapp_code_dir }}"
tags: deploy
# https://code.launchpad.net/~wligtenberg/django-openid-auth/mysql_fix/+merge/22726 # https://code.launchpad.net/~wligtenberg/django-openid-auth/mysql_fix/+merge/22726
# This is necessary for when syncdb is run and the django_openid_auth module is installed, # This is necessary for when syncdb is run and the django_openid_auth module is installed,
......
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