Reactivate the creation of the directories we upload to

This commit is contained in:
Pierre-Yves Chibon 2014-11-04 15:54:19 +01:00
parent f451b1ca27
commit 7a4b565b05

View file

@ -31,19 +31,19 @@
notify:
- restart apache
#- name: create pictures folder where we upload the pictures
# action: file state=directory
# 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/cache/nuancier/cache
# owner=apache group=apache mode=0600
# tags:
# - setup
- name: create pictures folder where we upload the pictures
action: file state=directory
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/cache/nuancier/cache
owner=apache group=apache mode=0600
tags:
- setup
- name: create the database scheme
command: /usr/bin/python2 /usr/share/nuancier/nuancier_createdb.py