Fix the creation of the pictures and cache folders for nuancier and fix their permissions

This commit is contained in:
Pierre-Yves Chibon 2014-02-09 01:57:50 +01:00
parent de4b5bf97f
commit 6c3275fc84

View file

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