ansible/roles/fedmsg/base/templates/endpoints-fmn-backend.py.j2
2015-01-14 17:13:17 +00:00

14 lines
300 B
Django/Jinja

{% 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)
for i in range(6)
],
},
)