From eb0c65f9952a02ec19daadf982013dbbcc04be8e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 31 May 2015 16:31:33 +0000 Subject: [PATCH] Use the right ssl cert for staging. --- playbooks/groups/mirrorlist2.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/playbooks/groups/mirrorlist2.yml b/playbooks/groups/mirrorlist2.yml index 38102cc8f1..ca6ebd6cb2 100644 --- a/playbooks/groups/mirrorlist2.yml +++ b/playbooks/groups/mirrorlist2.yml @@ -72,9 +72,15 @@ - apache - httpd/mod_ssl + - role: httpd/certificate + name: wildcard-2014.stg.fedoraproject.org + SSLCertificateChainFile: wildcard-2014.stg.fedoraproject.org.intermediate.cert + when: env == "staging" + - role: httpd/certificate name: wildcard-2014.fedoraproject.org SSLCertificateChainFile: wildcard-2014.fedoraproject.org.intermediate.cert + when: env != "staging" - role: httpd/website name: mirrorlist-phx2.phx2.fedoraproject.org