From ae12dbb4488341cb53a0b1aa5b4ff57e12fc9435 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Tue, 8 Jan 2019 20:04:33 +0100 Subject: [PATCH] whatcanidoforfedora: Use the stg route openshift route when env == staging Signed-off-by: Clement Verna --- playbooks/openshift-apps/asknot.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/openshift-apps/asknot.yml b/playbooks/openshift-apps/asknot.yml index 6929b59edc..0e6cebc629 100644 --- a/playbooks/openshift-apps/asknot.yml +++ b/playbooks/openshift-apps/asknot.yml @@ -38,9 +38,10 @@ - role: openshift/route app: asknot routename: asknot - host: "{{ env_suffix }}.whatcanidoforfedora.org" + host: "stg.whatcanidoforfedora.org" serviceport: 8080-tcp servicename: asknot + when: env == "staging" - role: openshift/object app: asknot