Module - export_image_blob
This module provides for the following ansible plugin:
export_image_blob
Module Documentation
Export OpenStack image definition into an OS-Migrate YAML
Options
- auth
Required if 'cloud' param 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.
- blob_path
Path where the image blob content will be saved.
In case the file already exists, it is assumed that the export was already performed and the module doesn't overwrite it.
- name
Name (or ID) of a Image to export.
- availability_zone
Availability zone.
- 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 myimage into /opt/os-migrate/images.yml
os_migrate.os_migrate.export_image_blob:
path: /opt/os-migrate/image_blobs/myimage
name: myimage