mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-16 13:56:03 +08:00
Since we no longer have any machines in phx2, I have tried to remove them from ansible. Note that there are still some places where we need to remove them still: nagios, dhcp, named were not touched, and in cases where it wasn't pretty clear what a conditional was doing I left it to be cleaned up later. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
15 lines
300 B
Django/Jinja
15 lines
300 B
Django/Jinja
{% if env == 'staging' %}
|
|
suffix = 'stg.iad2.fedoraproject.org'
|
|
{% else %}
|
|
suffix = 'iad2.fedoraproject.org'
|
|
{% endif %}
|
|
|
|
config = dict(
|
|
endpoints={
|
|
"fmn.notifs-backend01": [
|
|
"tcp://notifs-backend01.%s:30%0.2i" % (suffix, i)
|
|
for i in range(6)
|
|
],
|
|
},
|
|
)
|