Tag up the nuancier role.
This commit is contained in:
parent
dbdac76c91
commit
5f52150a17
1 changed files with 22 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
- python-alembic
|
- python-alembic
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
- nuancier
|
||||||
|
|
||||||
- name: copy sundry nuancier configuration
|
- name: copy sundry nuancier configuration
|
||||||
template: src={{ item.file }}
|
template: src={{ item.file }}
|
||||||
|
@ -24,6 +25,7 @@
|
||||||
changed_when: "1 != 1"
|
changed_when: "1 != 1"
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
- nuancier
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
|
|
||||||
|
@ -33,6 +35,7 @@
|
||||||
owner=apache group=apache mode=0700
|
owner=apache group=apache mode=0700
|
||||||
tags:
|
tags:
|
||||||
- setup
|
- setup
|
||||||
|
- nuancier
|
||||||
|
|
||||||
- name: create the cache folder where nuancier creates the thumbnails
|
- name: create the cache folder where nuancier creates the thumbnails
|
||||||
action: file state=directory
|
action: file state=directory
|
||||||
|
@ -40,12 +43,15 @@
|
||||||
owner=apache group=apache mode=0700
|
owner=apache group=apache mode=0700
|
||||||
tags:
|
tags:
|
||||||
- setup
|
- setup
|
||||||
|
- nuancier
|
||||||
|
|
||||||
- name: create the database scheme
|
- name: create the database scheme
|
||||||
command: /usr/bin/python2 /usr/share/nuancier/nuancier_createdb.py
|
command: /usr/bin/python2 /usr/share/nuancier/nuancier_createdb.py
|
||||||
environment:
|
environment:
|
||||||
NUANCIER_CONFIG: /etc/nuancier/nuancier.cfg
|
NUANCIER_CONFIG: /etc/nuancier/nuancier.cfg
|
||||||
changed_when: "1 != 1"
|
changed_when: "1 != 1"
|
||||||
|
tags:
|
||||||
|
- nuancier
|
||||||
|
|
||||||
- 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: src={{ item.file }}
|
template: src={{ item.file }}
|
||||||
|
@ -58,6 +64,7 @@
|
||||||
- { file: nuancier.wsgi, location: /var/www }
|
- { file: nuancier.wsgi, location: /var/www }
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
- nuancier
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
|
|
||||||
|
@ -65,6 +72,9 @@
|
||||||
action: seboolean name=httpd_can_network_connect_db
|
action: seboolean name=httpd_can_network_connect_db
|
||||||
state=true
|
state=true
|
||||||
persistent=true
|
persistent=true
|
||||||
|
tags:
|
||||||
|
- nuancier
|
||||||
|
- selinux
|
||||||
|
|
||||||
- name: apply selinux type to static files
|
- name: apply selinux type to static files
|
||||||
file: >
|
file: >
|
||||||
|
@ -72,18 +82,30 @@
|
||||||
setype=httpd_sys_content_t
|
setype=httpd_sys_content_t
|
||||||
state=directory
|
state=directory
|
||||||
recurse=yes
|
recurse=yes
|
||||||
|
tags:
|
||||||
|
- nuancier
|
||||||
|
- selinux
|
||||||
|
|
||||||
- name: set sebooleans so apache can use glusterfs
|
- name: set sebooleans so apache can use glusterfs
|
||||||
action: seboolean name=httpd_use_fusefs
|
action: seboolean name=httpd_use_fusefs
|
||||||
state=true
|
state=true
|
||||||
persistent=true
|
persistent=true
|
||||||
|
tags:
|
||||||
|
- nuancier
|
||||||
|
- selinux
|
||||||
|
|
||||||
- name: set sebooleans so apache can send emails
|
- name: set sebooleans so apache can send emails
|
||||||
action: seboolean name=httpd_can_sendmail
|
action: seboolean name=httpd_can_sendmail
|
||||||
state=true
|
state=true
|
||||||
persistent=true
|
persistent=true
|
||||||
|
tags:
|
||||||
|
- nuancier
|
||||||
|
- selinux
|
||||||
|
|
||||||
- name: apply selinux type to the wsgi file
|
- name: apply selinux type to the wsgi file
|
||||||
file: >
|
file: >
|
||||||
dest=/var/www/nuancier.wsgi
|
dest=/var/www/nuancier.wsgi
|
||||||
setype=httpd_sys_content_t
|
setype=httpd_sys_content_t
|
||||||
|
tags:
|
||||||
|
- nuancier
|
||||||
|
- selinux
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue