Override the defaults resultsdb settings, we do not want fedmsg there
This resultsdb instance isn't meant to send fedmsg notification and thus should not be configured to. Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
177e1757f5
commit
d576372c19
2 changed files with 15 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
|||
tags:
|
||||
- config
|
||||
|
||||
- name: generate ci-resultsdb config files
|
||||
- name: generate ci-resultsdb config files and override default resultsdb settings
|
||||
template: src={{ item.file }}
|
||||
dest={{ item.location }}/{{ item.file }}
|
||||
owner=root group=root mode=0644
|
||||
|
@ -40,6 +40,7 @@
|
|||
- { file: listener.cfg, location: /etc/ci-resultsdb-listener/ }
|
||||
- { file: endpoints.py, location: /etc/fedmsg.d/ }
|
||||
- { file: ci-resultsdb-listener.py, location: /etc/fedmsg.d/ }
|
||||
- { file: settings.py, location: /etc/resultsdb/ }
|
||||
notify:
|
||||
- reload httpd
|
||||
|
||||
|
|
13
roles/ci_resultsdb/templates/settings.py
Normal file
13
roles/ci_resultsdb/templates/settings.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
SECRET_KEY = '{{ resultsdb_secret_key }}'
|
||||
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ resultsdb_db_user }}:{{ resultsdb_db_password }}@{{ resultsdb_db_host }}:{{ resultsdb_db_port }}/{{ resultsdb_db_name }}'
|
||||
FILE_LOGGING = False
|
||||
LOGFILE = '/var/log/resultsdb/resultsdb.log'
|
||||
SYSLOG_LOGGING = False
|
||||
STREAM_LOGGING = True
|
||||
|
||||
MESSAGE_BUS_PUBLISH = False
|
||||
MESSAGE_BUS_PUBLISH_TASKOTRON = False
|
||||
|
||||
MESSAGE_BUS_PLUGIN = 'fedmsg'
|
||||
MESSAGE_BUS_KWARGS = {'modname': 'resultsdb'}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue