From 35e61359677abd4de423371782aeb69287117974 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Tue, 10 Oct 2017 17:10:55 +0200 Subject: [PATCH] Use balancer for openshift in staging Signed-off-by: Patrick Uiterwijk --- playbooks/include/proxies-reverseproxy.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index af8b6cbf22..480cf5f048 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -605,6 +605,21 @@ destname: os proxyurl: http://localhost:10064 keephost: true + when: env != "staging" + tags: + - os.fedoraproject.org + + - role: httpd/reverseproxy + website: os.fedoraproject.org + destname: os + proxyurl: http://localhost:10064 + balancer_name: osmaster + balancer_members: + - "https://os-master01" + - "https://os-master02" + - "https://os-master03" + keephost: true + when: env == "staging" tags: - os.fedoraproject.org