summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-10-04 10:22:04 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-10-04 10:22:04 -0400
commit65e896d32055364e3a8082f2cd27b193bd0614b0 (patch)
tree3c9a85d25df60930ec6101d25f18b309b9e8dbaf /roles/openshift_hosted
parent2128e5cfd89de206004e33d58ecfca594c87c3d7 (diff)
downloadopenshift-65e896d32055364e3a8082f2cd27b193bd0614b0.tar.gz
openshift-65e896d32055364e3a8082f2cd27b193bd0614b0.tar.bz2
openshift-65e896d32055364e3a8082f2cd27b193bd0614b0.tar.xz
openshift-65e896d32055364e3a8082f2cd27b193bd0614b0.zip
Don't secure registry or deploy registry console when infra replics == 0
Diffstat (limited to 'roles/openshift_hosted')
-rw-r--r--roles/openshift_hosted/tasks/registry/registry.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_hosted/tasks/registry/registry.yml b/roles/openshift_hosted/tasks/registry/registry.yml
index ed0a2b38d..4e525a2da 100644
--- a/roles/openshift_hosted/tasks/registry/registry.yml
+++ b/roles/openshift_hosted/tasks/registry/registry.yml
@@ -53,6 +53,7 @@
- include: secure.yml
static: no
+ when: replicas | int > 0
- include: storage/object_storage.yml
static: no