ansible/roles/fedmsg/base/templates/endpoints-fmn-backend.py.j2

15 lines
300 B
Text
Raw Normal View History

{% if env == 'staging' %}
suffix = 'stg.phx2.fedoraproject.org'
{% else %}
suffix = 'phx2.fedoraproject.org'
{% endif %}
config = dict(
endpoints={
"fmn.notifs-backend01": [
"tcp://notifs-backend01.%s:30%0.2i" % (suffix, i)
2015-01-14 17:13:03 +00:00
for i in range(6)
],
},
)