From f2a1da4e2290fc4f08ee6cc05e6af5e295e12d6e Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Sat, 11 May 2019 18:13:38 +0200 Subject: [PATCH] Attempt to move FAS in stg to openshift Signed-off-by: Patrick Uiterwijk --- playbooks/include/proxies-reverseproxy.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index 31de8a4aa3..034c9b0064 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -157,6 +157,19 @@ remotepath: /accounts localpath: /accounts proxyurl: http://localhost:10004 + when: env == "production" + + - role: httpd/reverseproxy + website: admin.fedoraproject.org + destname: fas + remotepath: /accounts + localpath: /accounts + balancer_name: app-os + targettype: openshift + keephost: true + when: env == "staging" + tags: + - fas - role: httpd/reverseproxy website: "id{{ env_suffix }}.fedoraproject.org"