From 2edf7f7e91488d2deda2c56814cde27bcfc7ed0f Mon Sep 17 00:00:00 2001 From: Mark O'Brien Date: Tue, 19 Jan 2021 10:36:19 +0000 Subject: [PATCH] toddlers: turn on fasjson in stg --- playbooks/openshift-apps/toddlers.yml | 2 +- roles/openshift-apps/toddlers/templates/fedora-messaging.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/playbooks/openshift-apps/toddlers.yml b/playbooks/openshift-apps/toddlers.yml index 9ebb65b8e5..166144bc8f 100644 --- a/playbooks/openshift-apps/toddlers.yml +++ b/playbooks/openshift-apps/toddlers.yml @@ -1,5 +1,5 @@ - name: make the app be real - hosts: os_masters[0] #:os_masters_stg[0] + hosts: os_masters[0] :os_masters_stg[0] user: root gather_facts: False diff --git a/roles/openshift-apps/toddlers/templates/fedora-messaging.toml b/roles/openshift-apps/toddlers/templates/fedora-messaging.toml index 856fafac1a..3b53d9df86 100644 --- a/roles/openshift-apps/toddlers/templates/fedora-messaging.toml +++ b/roles/openshift-apps/toddlers/templates/fedora-messaging.toml @@ -139,7 +139,11 @@ notify_admins = [ "pingou@fedoraproject.org", ] # Use fasjson instead of FAS +{% if env == staging %} +fasjson = true +{% else %} fasjson = false +{% endif %} # PDC types mapping for distgit_bugzilla_sync toddler [consumer_config.distgit_bugzilla_sync.pdc_types]