From 68c209d8dbb701776caf88eecdc1edba8cb9bb4c Mon Sep 17 00:00:00 2001 From: staticsafe Date: Fri, 16 May 2014 02:07:08 +0000 Subject: [PATCH] Add state for log file creation --- debian/roles/appservers-uwsgi/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/roles/appservers-uwsgi/tasks/main.yml b/debian/roles/appservers-uwsgi/tasks/main.yml index 4b345de..492acf3 100644 --- a/debian/roles/appservers-uwsgi/tasks/main.yml +++ b/debian/roles/appservers-uwsgi/tasks/main.yml @@ -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: