summaryrefslogtreecommitdiffstats
path: root/roles/openstack-create-cinder-registry
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-09-11 14:57:09 +0200
committerTomas Sedovic <tomas@sedovic.cz>2017-09-13 11:31:56 +0200
commitb6dd8f112cd5506923b4b3ce51a1774b0bfc037c (patch)
tree6fc1dec7c49ff3c8698e488286cc65a4dd8d1ca3 /roles/openstack-create-cinder-registry
parentc478cfcd54bc89918bea21b9e47fcc9421bec568 (diff)
downloadopenshift-b6dd8f112cd5506923b4b3ce51a1774b0bfc037c.tar.gz
openshift-b6dd8f112cd5506923b4b3ce51a1774b0bfc037c.tar.bz2
openshift-b6dd8f112cd5506923b4b3ce51a1774b0bfc037c.tar.xz
openshift-b6dd8f112cd5506923b4b3ce51a1774b0bfc037c.zip
Pre-create a Cinder registry volume
Diffstat (limited to 'roles/openstack-create-cinder-registry')
-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