From d09c0703bf92dcd8ad91d03d1019010b89781195 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 27 Jul 2022 10:25:09 -0700 Subject: [PATCH] proxies / reverseproxy / mirrors.stg.centos.org: also setup reverseproxy in stg Since we split up stg and prod so they could have seperate ssl certs, we need to also setup the reverseproxy for staging. Signed-off-by: Kevin Fenzi --- playbooks/include/proxies-reverseproxy.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index 2e8502e2b1..0da3efe145 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -485,6 +485,14 @@ destname: mirrormanager-mirrorlist proxyurl: http://localhost:10002 tags: mirrors.centos.org + when: env != "staging" + + - role: httpd/reverseproxy + website: mirrors.stg.centos.org + destname: mirrormanager-mirrorlist + proxyurl: http://localhost:10002 + tags: mirrors.stg.centos.org + when: env == "staging" - role: httpd/reverseproxy website: download.fedoraproject.org