summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-10-05 10:31:38 -0400
committerGitHub <noreply@github.com>2016-10-05 10:31:38 -0400
commita2c88dca9c83491848f866a4ba90541da8408c4c (patch)
treec6be62a417af70396d40a14eed00f7b9d67b37cd /roles/openshift_hosted
parent0c01e07493a4660f3eade5b96abefaa5b1f062b9 (diff)
parent65e896d32055364e3a8082f2cd27b193bd0614b0 (diff)
downloadopenshift-a2c88dca9c83491848f866a4ba90541da8408c4c.tar.gz
openshift-a2c88dca9c83491848f866a4ba90541da8408c4c.tar.bz2
openshift-a2c88dca9c83491848f866a4ba90541da8408c4c.tar.xz
openshift-a2c88dca9c83491848f866a4ba90541da8408c4c.zip
Merge pull request #2544 from abutcher/registry-check
Don't secure registry or deploy registry console when infra replicas == 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