summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2017-05-30 12:37:57 -0400
committerAndrew Butcher <abutcher@redhat.com>2017-05-30 12:37:57 -0400
commit80bbdb0d32462b44701dae5b96d529bcdaa02d9b (patch)
treeeeca62c21f0a190cc57d5941aa5a46d10c7c9164
parent240b923c95e04e9467c607c502c857dd86d14179 (diff)
downloadopenshift-80bbdb0d32462b44701dae5b96d529bcdaa02d9b.tar.gz
openshift-80bbdb0d32462b44701dae5b96d529bcdaa02d9b.tar.bz2
openshift-80bbdb0d32462b44701dae5b96d529bcdaa02d9b.tar.xz
openshift-80bbdb0d32462b44701dae5b96d529bcdaa02d9b.zip
Skip router/registry cert redeploy when openshift_hosted_manage_{router,registry}=false
-rw-r--r--playbooks/byo/openshift-cluster/redeploy-certificates.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/playbooks/byo/openshift-cluster/redeploy-certificates.yml b/playbooks/byo/openshift-cluster/redeploy-certificates.yml
index 012ce69ec..a3894e243 100644
--- a/playbooks/byo/openshift-cluster/redeploy-certificates.yml
+++ b/playbooks/byo/openshift-cluster/redeploy-certificates.yml
@@ -20,5 +20,7 @@
- include: ../../common/openshift-node/restart.yml
- include: ../../common/openshift-cluster/redeploy-certificates/router.yml
+ when: openshift_hosted_manage_router | default(true) | bool
- include: ../../common/openshift-cluster/redeploy-certificates/registry.yml
+ when: openshift_hosted_manage_registry | default(true) | bool