From 9ba8aa1acf5fe2a71f51f5074d315afd1388d8c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Wed, 5 Jun 2024 11:20:40 +0200 Subject: [PATCH] Mirrormanager: send email in prod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- .../mirrormanager/templates/mirrormanager2.cfg.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/openshift-apps/mirrormanager/templates/mirrormanager2.cfg.py b/roles/openshift-apps/mirrormanager/templates/mirrormanager2.cfg.py index 4acde47550..1242f1ac0b 100644 --- a/roles/openshift-apps/mirrormanager/templates/mirrormanager2.cfg.py +++ b/roles/openshift-apps/mirrormanager/templates/mirrormanager2.cfg.py @@ -57,6 +57,7 @@ ADMIN_GROUP = ["sysadmin-main", "sysadmin-web"] # Email of the admin to which send notification or error # ADMIN_EMAIL = "admin@fedoraproject.org" +ADMIN_EMAIL = "abompard@fedoraproject.org" # Email address used in the "From" field of the emails sent. # Default: ``nobody@fedoraproject.org``. @@ -181,7 +182,11 @@ SKIP_PATHS_FOR_VERSION = [ ### # Specify whether the crawler should send a report by email +{% if env == "staging" %} CRAWLER_SEND_EMAIL = False +{% else %} +CRAWLER_SEND_EMAIL = True +{% endif %} # If a host fails for CRAWLER_AUTO_DISABLE times in a row # the host will be disable automatically (user_active)