Commit ad3078e8 by Feanil Patel Committed by GitHub

Merge pull request #3576 from edx/feanil/fix_certs_permissions

Can't be certs_user to set these permissions correctly.
parents 8d24138e aeb4846f
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
with_items: with_items:
- { src: 'certs.env.json.j2', dest: 'env.json' } - { src: 'certs.env.json.j2', dest: 'env.json' }
- { src: 'certs.auth.json.j2', dest: 'auth.json' } - { src: 'certs.auth.json.j2', dest: 'auth.json' }
become_user: "{{ certs_user }}"
- name: Writing supervisor script for certificates - name: Writing supervisor script for certificates
template: template:
......
...@@ -21,7 +21,9 @@ ...@@ -21,7 +21,9 @@
template: template:
src: xserver_gunicorn.py.j2 src: xserver_gunicorn.py.j2
dest: "{{ xserver_app_dir }}/xserver_gunicorn.py" dest: "{{ xserver_app_dir }}/xserver_gunicorn.py"
become_user: "{{ xserver_user }}" owner: "{{ supervisor_user }}"
group: "{{ common_web_user }}"
mode: "0644"
notify: notify:
- restart xserver - restart xserver
......
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