Small formatting changes
This commit is contained in:
parent
1120037afd
commit
ffcbe72031
1 changed files with 11 additions and 9 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue