From 7a4b565b0588c478a4438a762d14cc93cd1a04a1 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 4 Nov 2014 15:54:19 +0100 Subject: [PATCH] Reactivate the creation of the directories we upload to --- roles/nuancier/tasks/main.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/roles/nuancier/tasks/main.yml b/roles/nuancier/tasks/main.yml index 0f4f8189bd..6cc88309e1 100644 --- a/roles/nuancier/tasks/main.yml +++ b/roles/nuancier/tasks/main.yml @@ -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