mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-14 22:36:09 +08:00
Some configuration for zanata2fedmsg.
This commit is contained in:
@@ -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}}'
|
||||
Reference in New Issue
Block a user