From 516d5e77e8d2e843abdfb2018ac854c5da49ee31 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 25 Jul 2020 10:06:20 -0700 Subject: [PATCH] haproxy: fix conditional that was reversed for mbs Signed-off-by: Kevin Fenzi --- roles/haproxy/templates/haproxy.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 6f2f0e4cc2..cac99c00f9 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -374,7 +374,7 @@ frontend mbs-frontend backend mbs-backend balance hdr(appserver) server mbs-frontend01 mbs-frontend01:80 check inter 20s rise 2 fall 3 -{% if env == "staging" %} +{% if env == "production" %} server mbs-frontend02 mbs-frontend02:80 check inter 20s rise 2 fall 3 {% endif %} option httpchk GET /module-build-service/1/component-builds/