add stickynotes2modernpaste config
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
3e66902fd4
commit
0659dd5e68
2 changed files with 13 additions and 0 deletions
|
@ -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:
|
||||
|
|
6
roles/modernpaste/templates/config.ini
Normal file
6
roles/modernpaste/templates/config.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
[stickynotes2modernpaste]
|
||||
{% if env == 'staging' %}
|
||||
modernpaste = https://paste.stg.fedoraproject.org
|
||||
{% else %}
|
||||
modernpaste = https://paste.fedoraproject.org
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue