Some configuration for zanata2fedmsg.
This commit is contained in:
parent
7a9d1e861d
commit
0b173e3d1b
3 changed files with 14 additions and 0 deletions
|
@ -3,5 +3,6 @@ sys.stdout = sys.stderr
|
|||
|
||||
import os
|
||||
os.environ['PYTHON_EGG_CACHE'] = '/var/www/.python-eggs'
|
||||
os.environ['ZANATA2FEDMSG_CONFIG'] = '/etc/zanata2fedmsg.ini'
|
||||
|
||||
from zanata2fedmsg import app as application
|
||||
|
|
|
@ -17,6 +17,18 @@
|
|||
tags:
|
||||
- zanata2fedmsg
|
||||
|
||||
- name: copy zanata2fedmsg configuration file
|
||||
template: >
|
||||
src={{ item }} dest="/etc/{{item}}"
|
||||
owner=apache group=apache mode=0640
|
||||
with_items:
|
||||
- zanata2fedmsg.ini
|
||||
tags:
|
||||
- config
|
||||
- zanata2fedmsg
|
||||
notify:
|
||||
- restart apache
|
||||
|
||||
- name: copy zanata2fedmsg wsgi script
|
||||
copy: >
|
||||
src={{ item }} dest="/usr/share/zanata2fedmsg/{{ item }}"
|
||||
|
|
1
roles/zanata2fedmsg/templates/zanata2fedmsg.ini
Normal file
1
roles/zanata2fedmsg/templates/zanata2fedmsg.ini
Normal file
|
@ -0,0 +1 @@
|
|||
WEBHOOK_SALT = '{{zanata2fedmsg_webhook_salt}}'
|
Loading…
Add table
Add a link
Reference in a new issue