ansible/roles/fedmsg/base/templates/endpoints-hotness.py.j2
2014-11-17 19:30:52 +00:00

16 lines
397 B
Django/Jinja

{% if env == 'staging' %}
suffix = 'stg.phx2.fedoraproject.org'
{% else %}
suffix = 'phx2.fedoraproject.org'
{% endif %}
config = dict(
endpoints={
"hotness.hotness01": [
"tcp://hotness01.%s:3000" % suffix,
"tcp://hotness01.%s:3001" % suffix,
"tcp://hotness01.%s:3002" % suffix,
"tcp://hotness01.%s:3003" % suffix,
],
},
)