From d1b807787472c400d9c90c938274b6af8493805f Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 8 Mar 2018 02:19:32 +0100 Subject: [PATCH] Fix bodhi email in stg Signed-off-by: Patrick Uiterwijk --- roles/bodhi2/base/templates/production.ini.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/bodhi2/base/templates/production.ini.j2 b/roles/bodhi2/base/templates/production.ini.j2 index 548645956d..90eb91e224 100644 --- a/roles/bodhi2/base/templates/production.ini.j2 +++ b/roles/bodhi2/base/templates/production.ini.j2 @@ -271,7 +271,11 @@ smtp_server = bastion # bodhi_email = updates@fedoraproject.org # This is the password used to access Bodhi's bugzilla account. # bodhi_password = -bodhi_email = updates@{{env_suffix}}fedoraproject.org +{% if env == "staging" %} +bodhi_email = updates@stg.fedoraproject.org +{% else %} +bodhi_email = updates@fedoraproject.org +{% endif %} bodhi_password = {{ bodhiBugzillaPassword }} # The address that gets the requests