mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 10:56:20 +08:00
10 lines
457 B
Python
10 lines
457 B
Python
# Configuration for the datanommer consumer. A plugin for the fedmsg-hub process.
|
|
config = {
|
|
'datanommer.enabled': True,
|
|
{% if env == "production" %}
|
|
'datanommer.sqlalchemy.url': 'postgresql://{{ datanommerDBUser }}:{{ datanommerDBPassword }}@db-datanommer02/datanommer',
|
|
{% else %}
|
|
'datanommer.sqlalchemy.url': 'postgresql://{{ datanommerDBUser }}:{{ datanommerDBPassword }}@db-datanommer.stg.phx2.fedoraproject.org/datanommer',
|
|
{% endif %}
|
|
}
|