Commit ad160d40 by Xavier Antoviaque

edxapp-perm-fixes: Ensure all edxapp venv files are readable by any user

For pip packages which create group-restricted venv files (httplib2).
parent e7b58325
...@@ -165,6 +165,12 @@ ...@@ -165,6 +165,12 @@
when: not inst.stat.exists or new.stat.md5 != inst.stat.md5 when: not inst.stat.exists or new.stat.md5 != inst.stat.md5
tags: deploy tags: deploy
# For pip packages which create group-restricted venv files (httplib2)
- name: edxapp | ensure all files are readable by any user
shell: chmod -R go+r {{ edxapp_venv_dir }}
when: not inst.stat.exists or new.stat.md5 != inst.stat.md5
tags: deploy
- name: edxapp | create checksum for installed requirements - name: edxapp | create checksum for installed requirements
shell: cp /var/tmp/edxapp.req.new /var/tmp/edxapp.req.installed shell: cp /var/tmp/edxapp.req.new /var/tmp/edxapp.req.installed
sudo_user: "{{ edxapp_user }}" sudo_user: "{{ edxapp_user }}"
......
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