allow all users to runtime directory
This commit is contained in:
parent
e1311e7ccc
commit
2ab21a87f5
1 changed files with 2 additions and 2 deletions
|
@ -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 }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue