Module - export_detached_volume
This module provides for the following ansible plugin:
export_detached_volume
Module Documentation
Export OpenStack detached volume definition into an OS-Migrate YAML
Options
- auth:
Dictionary with parameters for chosen auth type.
Required if 'cloud' parameter is not used.
- auth_type:
Auth type plugin for OpenStack. Can be omitted if using password authentication.
- region_name:
OpenStack region name. Can be omitted if using default region.
- path:
Resources YAML file to where detached volume will be serialized.
In case the resource file already exists, it must match the os-migrate version.
In case the resource of same type and name exists in the file, it will be replaced.
- volume_id:
Volume ID of the detached volume to export.
- cloud:
Cloud from clouds.yaml to use.
Required if 'auth' parameter is not used.
Authors
- :
OpenStack tenant migration tools (@os-migrate)
Example Tasks
- name: Export mydetachedvolume into /opt/os-migrate/detached_volumes.yml
os_migrate.os_migrate.export_detached_volume:
path: /opt/os-migrate/detached_volumes.yml
volume_id: <some-volume-uuid>