Add state for log file creation
This commit is contained in:
parent
7373cd3b39
commit
68c209d8db
2
debian/roles/appservers-uwsgi/tasks/main.yml
vendored
2
debian/roles/appservers-uwsgi/tasks/main.yml
vendored
@ -17,7 +17,7 @@
|
||||
- name: Make configuration directory
|
||||
file: path=/etc/uwsgi/apps state=directory
|
||||
- name: Make log file with correct permissions
|
||||
file: path=/var/log/uwsgi.log owner=uwsgi group=uwsgi mode=0750
|
||||
file: path=/var/log/uwsgi.log owner=uwsgi group=uwsgi mode=0750 state=touch
|
||||
- name: Make sure uwsgi starts on boot
|
||||
service: name=uwsgi enabled=yes
|
||||
notify:
|
||||
|
Loading…
Reference in New Issue
Block a user