Some configuration for zanata2fedmsg.

This commit is contained in:
Ralph Bean 2016-03-04 18:30:20 +00:00
parent 7a9d1e861d
commit 0b173e3d1b
3 changed files with 14 additions and 0 deletions

View file

@ -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

View file

@ -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 }}"

View file

@ -0,0 +1 @@
WEBHOOK_SALT = '{{zanata2fedmsg_webhook_salt}}'