From 6c3275fc844d5e52f91b42b9d88601001f0a3f13 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sun, 9 Feb 2014 01:57:50 +0100 Subject: [PATCH] Fix the creation of the pictures and cache folders for nuancier and fix their permissions --- roles/nuancier/tasks/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/roles/nuancier/tasks/main.yml b/roles/nuancier/tasks/main.yml index fea9e8b6b5..baed8ee6d3 100644 --- a/roles/nuancier/tasks/main.yml +++ b/roles/nuancier/tasks/main.yml @@ -33,14 +33,15 @@ - name: create pictures folder where we upload the pictures action: file state=directory - path=/var/www/nuancier/pictures + path=/var/cache/nuancier/pictures + owner=apache group=apache mode=0600 tags: - setup - name: create the cache folder where nuancier creates the thumbnails action: file state=directory - path=/var/www/nuancier/cache - owner=apache group=apache + path=/var/cache/nuancier/cache + owner=apache group=apache mode=0600 tags: - setup