diff --git a/roles/nuancier/tasks/main.yml b/roles/nuancier/tasks/main.yml index cee59e2ea7..52cac4f92b 100644 --- a/roles/nuancier/tasks/main.yml +++ b/roles/nuancier/tasks/main.yml @@ -9,9 +9,9 @@ - packages - name: copy sundry nuancier configuration - template: > - src={{ item.file }} dest={{ item.location }}/{{ item.dest }} - owner=apache group=apache mode=0600 + template: src={{ item.file }} + dest={{ item.location }}/{{ item.dest }} + owner=apache group=apache mode=0600 with_items: - { file: nuancier_admin.cfg, location: /etc/nuancier, dest: nuancier.cfg } tags: @@ -20,13 +20,15 @@ - restart apache - name: create pictures folder where we upload the pictures - action: file state=directory path=/var/www/nuancier/pictures + action: file state=directory + path=/var/www/nuancier/pictures 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 + action: file state=directory + path=/var/www/nuancier/cache + owner=apache group=apache tags: - setup @@ -34,9 +36,9 @@ command: NUANCIER_CONFIG=/etc/nuancier/nuancier.cfg /usr/share/nuancier/nuancier-lite_createdb.py - name: replace the nuancier configuration file by the one with the normal user - template: > - src={{ item.file }} dest={{ item.location }}/{{ item.file }} - owner=apache group=apache mode=0600 + template: src={{ item.file }} + dest={{ item.location }}/{{ item.file }} + owner=apache group=apache mode=0600 with_items: - { file: nuancier.cfg, location: /etc/nuancier } - { file: nuancier.conf, location: /etc/httpd/conf.d }