More changes from nuancier-lite -> nuancier
This commit is contained in:
parent
7011ce0e14
commit
c6c96c57bb
4 changed files with 7 additions and 7 deletions
|
@ -23,7 +23,7 @@
|
|||
dest="{{ item.location }}/{{ item.dest }}"
|
||||
owner=apache group=apache mode=0600
|
||||
with_items:
|
||||
- { file: nuancier_admin.cfg, location: /etc/nuancier, dest: nuancier-lite.cfg }
|
||||
- { file: nuancier_admin.cfg, location: /etc/nuancier, dest: nuanciercfg }
|
||||
tags:
|
||||
- config
|
||||
notify:
|
||||
|
@ -43,16 +43,16 @@
|
|||
- setup
|
||||
|
||||
- name: create the database scheme
|
||||
command: /usr/bin/python2 /usr/share/nuancier/nuancier-lite_createdb.py
|
||||
command: /usr/bin/python2 /usr/share/nuancier/nuancier_createdb.py
|
||||
environment:
|
||||
NUANCIER_CONFIG: /etc/nuancier/nuancier-lite.cfg
|
||||
NUANCIER_CONFIG: /etc/nuancier/nuancier.cfg
|
||||
|
||||
- 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
|
||||
with_items:
|
||||
- { file: nuancier-lite.cfg, location: /etc/nuancier }
|
||||
- { file: nuancier.cfg, location: /etc/nuancier }
|
||||
- { file: nuancier.conf, location: /etc/httpd/conf.d }
|
||||
- { file: nuancier.wsgi, location: /usr/share/nuancier }
|
||||
tags:
|
||||
|
|
|
@ -8,7 +8,7 @@ SECRET_KEY='{{ nuancier_secret_key }}'
|
|||
### url to the database server:
|
||||
DB_URL='postgresql://{{ nuancier_db_user }}:{{ nuancier_db_pass }}@{{ nuancier_db_host }}/{{ nuancier_db_name }}'
|
||||
|
||||
### The FAS groups in which the admin of nuancier-lite are
|
||||
### The FAS groups in which the admin of nuancier are
|
||||
### This can either be a single group or multiple, defined between
|
||||
### parenthesis.
|
||||
ADMIN_GROUP=('sysadmin-nuancier', 'sysadmin-main')
|
|
@ -9,7 +9,7 @@ import pkg_resources
|
|||
|
||||
import os
|
||||
# Set the environment variable pointing to the configuration file
|
||||
os.environ['NUANCIER_CONFIG'] = '/etc/nuancier/nuancier-lite.cfg'
|
||||
os.environ['NUANCIER_CONFIG'] = '/etc/nuancier/nuancier.cfg'
|
||||
|
||||
# The most import line to make the wsgi working
|
||||
from nuancier import APP as application
|
||||
|
|
|
@ -8,7 +8,7 @@ SECRET_KEY='{{ nuancier_secret_key }}'
|
|||
### url to the database server:
|
||||
DB_URL='postgresql://{{ nuancier_db_admin_user }}:{{ nuancier_db_admin_pass }}@{{ nuancier_db_host }}/{{ nuancier_db_name }}'
|
||||
|
||||
### The FAS groups in which the admin of nuancier-lite are
|
||||
### The FAS groups in which the admin of nuancier are
|
||||
### This can either be a single group or multiple, defined between
|
||||
### parenthesis.
|
||||
ADMIN_GROUP=('sysadmin-nuancier', 'sysadmin-main')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue