add stickynotes2modernpaste config

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2017-02-16 00:25:08 +00:00
parent 3e66902fd4
commit 0659dd5e68
2 changed files with 13 additions and 0 deletions

View file

@ -19,6 +19,13 @@
- modernpaste
notify: reload httpd
- name: stickynotes2modernpaste config
template: src=config.ini dest=/etc/stickynotes2modernpaste/config.ini owner=root group=root mode=644
tags:
- config
- modernpaste
notify: reload httpd
- name: modernpaste flask config
template: src=flask_config.py dest=/etc/modern-paste/flask_config.py owner=apache group=apache mode=600
tags:

View file

@ -0,0 +1,6 @@
[stickynotes2modernpaste]
{% if env == 'staging' %}
modernpaste = https://paste.stg.fedoraproject.org
{% else %}
modernpaste = https://paste.fedoraproject.org
{% endif %}