summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-hosted/private/openshift_hosted_registry_storage.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/openshift-hosted/private/openshift_hosted_registry_storage.yml')
-rw-r--r--playbooks/openshift-hosted/private/openshift_hosted_registry_storage.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/playbooks/openshift-hosted/private/openshift_hosted_registry_storage.yml b/playbooks/openshift-hosted/private/openshift_hosted_registry_storage.yml
new file mode 100644
index 000000000..cfc47c9b2
--- /dev/null
+++ b/playbooks/openshift-hosted/private/openshift_hosted_registry_storage.yml
@@ -0,0 +1,13 @@
+---
+# This playbook waits for registry and router pods after both have been
+# created. It is intended to allow the tasks of deploying both to complete
+# before polling to save time.
+- name: Poll for hosted pod deployments
+ hosts: oo_first_master
+ tasks:
+ - import_role:
+ name: openshift_hosted
+ tasks_from: registry_storage.yml
+ when:
+ - openshift_hosted_manage_registry | default(True) | bool
+ - openshift_hosted_registry_registryurl is defined