Small formatting changes

This commit is contained in:
Pierre-Yves Chibon 2013-09-20 12:35:03 +02:00
parent 1120037afd
commit ffcbe72031

View file

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