From 5c9a733da94178167a1109cda7d584954d6e5739 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 14 Feb 2023 09:04:21 -0800 Subject: [PATCH] openshift / fedocal / staging: disable cron job in staging The fedocal cron jobs fail in staging because they try to send to 'localhost' for smtp server. We could redirect them to use bastion, but then people would get a bunch of reminders from prod and staging and get confused by it. Ideally, fedocal would have a way to just print emails to stdout instead of sending to SMTP server to use for testing them in staging, but for now, until we have that just disable the cron job in staging. Signed-off-by: Kevin Fenzi --- playbooks/openshift-apps/fedocal.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/openshift-apps/fedocal.yml b/playbooks/openshift-apps/fedocal.yml index 2681c6bce9..d9c3ce6fd0 100644 --- a/playbooks/openshift-apps/fedocal.yml +++ b/playbooks/openshift-apps/fedocal.yml @@ -83,3 +83,4 @@ app: fedocal file: cron.yml objectname: cron.yml + when: env != 'staging'