https://github.com/ome/ansible-role-openstack-volume-storage
Create and attach a volume to an Openstack instance
https://github.com/ome/ansible-role-openstack-volume-storage
ansible openstack role volume
Last synced: 11 months ago
JSON representation
Create and attach a volume to an Openstack instance
- Host: GitHub
- URL: https://github.com/ome/ansible-role-openstack-volume-storage
- Owner: ome
- License: bsd-2-clause
- Created: 2017-01-12T14:47:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-10-05T08:29:11.000Z (over 3 years ago)
- Last Synced: 2025-06-05T07:16:12.328Z (about 1 year ago)
- Topics: ansible, openstack, role, volume
- Language: Jinja
- Homepage: https://galaxy.ansible.com/ome/openstack_volume_storage/
- Size: 31.3 KB
- Stars: 2
- Watchers: 10
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
OpenStack Volume Storage
========================
[](https://github.com/ome/ansible-role-openstack-volume-storage/actions)
[](https://galaxy.ansible.com/ome/openstack_volume_storage/)
Create an OpenStack Cinder volume and optionally attach it to an OpenStack
instance.
Note this requires Ansible 2.3 features in `os_volume`.
Role Variables
--------------
Required variables:
- `openstack_volume_size`: Size of the volume in GB
- `openstack_volume_name`: The name of the volume
- `openstack_volume_device`: The device name of the volume in the instance (default: automatically determined by OpenStack)
- `openstack_volume_type`: The type of volume (default: automatically determined by OpenStack)
- `openstack_volume_source`: If defined, the name of an existing volume to use as the source of the volume creation.
- `openstack_volume_vmname`: If defined, the name of an existing instance the volume should be attached to.
- `openstack_volume_wait`: If set to `false`, do not wait for the volume creation to complete, skip the cleanup of the intermediate source volume snapshot if `openstack_volume_source` is defined and skip the volume attachment if `openstack_volume_vmname` is defined (default: true).
Author Information
------------------
ome-devel@lists.openmicroscopy.org.uk