summaryrefslogtreecommitdiffstats
path: root/roles/openstack-create-cinder-registry/tasks
diff options
context:
space:
mode:
authortzumainn <tzumainn@redhat.com>2017-09-13 12:22:52 -0400
committerGitHub <noreply@github.com>2017-09-13 12:22:52 -0400
commit443b8284c31afec35e36e9df347285d1087e945a (patch)
treec7626ec4232af4d5ee532ad5cb2b1a3c3fbf42e5 /roles/openstack-create-cinder-registry/tasks
parentc478cfcd54bc89918bea21b9e47fcc9421bec568 (diff)
parentd2be3821ae085ec7faa2091df7abaf7279a983e3 (diff)
downloadopenshift-443b8284c31afec35e36e9df347285d1087e945a.tar.gz
openshift-443b8284c31afec35e36e9df347285d1087e945a.tar.bz2
openshift-443b8284c31afec35e36e9df347285d1087e945a.tar.xz
openshift-443b8284c31afec35e36e9df347285d1087e945a.zip
Merge pull request #728 from tomassedovic/prebuild-cinder-registry
Pre-create a Cinder registry volume
Diffstat (limited to 'roles/openstack-create-cinder-registry/tasks')
-rw-r--r--roles/openstack-create-cinder-registry/tasks/main.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openstack-create-cinder-registry/tasks/main.yaml b/roles/openstack-create-cinder-registry/tasks/main.yaml
new file mode 100644
index 000000000..6e9d1c2e7
--- /dev/null
+++ b/roles/openstack-create-cinder-registry/tasks/main.yaml
@@ -0,0 +1,5 @@
+---
+- os_volume:
+ display_name: "{{ cinder_hosted_registry_name }}"
+ size: "{{ cinder_hosted_registry_size_gb }}"
+ register: cinder_registry_volume