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
|
- 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 }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue