notifs-backend / staging: more fixes for staging

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2022-05-23 15:49:51 -07:00
parent 7cba0da13f
commit f178023895
2 changed files with 5 additions and 0 deletions

View file

@ -68,6 +68,7 @@
- notifs/backend
- role: collectd/fedmsg-service
process: fedmsg-hub
when: inventory_hostname.startswith('notifs-backend01.iad2')
vars_files:
- /srv/web/infra/ansible/vars/global.yml

View file

@ -6,7 +6,11 @@ domain = "fedoraproject.org"
ircnick = "fedora-notif"
{% endif %}
{% if env == 'staging' %}
base = "https://apps.stg.%s/notifications/" % domain
{% else %}
base = "https://apps.%s/notifications/" % domain
{% endif %}
config = {