allow all users to runtime directory

This commit is contained in:
Timo Makinen 2019-05-29 19:35:51 +03:00
parent e1311e7ccc
commit 2ab21a87f5

View file

@ -13,14 +13,14 @@
file: file:
dest: /run/gunicorn dest: /run/gunicorn
state: directory state: directory
mode: 0770 mode: 0775
owner: root owner: root
group: gunicorn group: gunicorn
- name: create tmpfiles config - name: create tmpfiles config
copy: copy:
dest: /etc/tmpfiles.d/gunicorn.conf dest: /etc/tmpfiles.d/gunicorn.conf
content: "d /run/gunicorn 770 root gunicorn\n" content: "d /run/gunicorn 775 root gunicorn\n"
mode: 0644 mode: 0644
owner: root owner: root
group: "{{ ansible_wheel }}" group: "{{ ansible_wheel }}"