Add state for log file creation

This commit is contained in:
staticsafe 2014-05-16 02:07:08 +00:00
parent 7373cd3b39
commit 68c209d8db
1 changed files with 1 additions and 1 deletions

View File

@ -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: