summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/tasks/registry_storage.yml
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-12-21 22:49:28 -0500
committerMichael Gugino <mgugino@redhat.com>2017-12-21 23:23:43 -0500
commit28b254886bf17251e973bfdad4dd4c89e26187fc (patch)
tree9ec6e102d1f3a0e1dcae96c44303ed7316927bbc /roles/openshift_hosted/tasks/registry_storage.yml
parent7d2dee36a6b49d335693c0e8554b378f62c7431e (diff)
downloadopenshift-28b254886bf17251e973bfdad4dd4c89e26187fc.tar.gz
openshift-28b254886bf17251e973bfdad4dd4c89e26187fc.tar.bz2
openshift-28b254886bf17251e973bfdad4dd4c89e26187fc.tar.xz
openshift-28b254886bf17251e973bfdad4dd4c89e26187fc.zip
Move wait_for_pods to it's own play openshift_hosted
Currently, both registry and router pods need to be polled for successful deployment. Somtimes this can take up to a minute. This commit attempts to deploy both pods before polling either. This should reduce the average wait time for polling pods by 50% as time spent polling the first will also allow the second pod to continue it's own deployment.
Diffstat (limited to 'roles/openshift_hosted/tasks/registry_storage.yml')
-rw-r--r--roles/openshift_hosted/tasks/registry_storage.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_hosted/tasks/registry_storage.yml b/roles/openshift_hosted/tasks/registry_storage.yml
new file mode 100644
index 000000000..aa66a7867
--- /dev/null
+++ b/roles/openshift_hosted/tasks/registry_storage.yml
@@ -0,0 +1,4 @@
+---
+- include_tasks: storage/glusterfs.yml
+ when:
+ - openshift_hosted_registry_storage_kind | default(none) == 'glusterfs' or openshift_hosted_registry_storage_glusterfs_swap