Small formatting changes
This commit is contained in:
parent
1120037afd
commit
ffcbe72031
1 changed files with 11 additions and 9 deletions
|
@ -9,8 +9,8 @@
|
|||
- packages
|
||||
|
||||
- name: copy sundry nuancier configuration
|
||||
template: >
|
||||
src={{ item.file }} dest={{ item.location }}/{{ item.dest }}
|
||||
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 }
|
||||
|
@ -20,12 +20,14 @@
|
|||
- 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
|
||||
action: file state=directory
|
||||
path=/var/www/nuancier/cache
|
||||
owner=apache group=apache
|
||||
tags:
|
||||
- setup
|
||||
|
@ -34,8 +36,8 @@
|
|||
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 }}
|
||||
template: src={{ item.file }}
|
||||
dest={{ item.location }}/{{ item.file }}
|
||||
owner=apache group=apache mode=0600
|
||||
with_items:
|
||||
- { file: nuancier.cfg, location: /etc/nuancier }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue