Module - import_workload_create_instance

This module provides for the following ansible plugin:

  • import_workload_create_instance

Module Documentation

Take an instance from an OS-Migrate YAML structure, and export its volumes over NBD.

Options

auth

Required if 'cloud' param not used

auth_type

Auth type plugin for destination OpenStack cloud. Can be omitted if using password authentication.

region_name

Destination OpenStack region name. Can be omitted if using default region.

availability_zone

Availability zone.

cloud

Cloud resource from clouds.yml

Required if 'auth' param not used.

validate_certs

Validate HTTPS certificates when logging in to OpenStack.

data

Data structure with server parameters as loaded from OS-Migrate workloads YAML file.

block_device_mapping

A block_device_mapping_v2 structure from the transfer_volumes module.

Used to attach destination volumes to the new instance in the right order.

Authors

OpenStack tenant migration tools (@os-migrate)

Example Tasks

- main.yml
- workload.yml