Module - os_conversion_host_info

This module provides for the following ansible plugin:

  • os_conversion_host_info

Module Documentation

Get information about a migration conversion host instance from OpenStack, in the format expected by the import_workload module.

Options

server

Name or ID of server to inspect

filters

Options for filtering the host, e.g. by project.

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.

availability_zone

Availability zone.

cloud

Cloud config from clouds.yml resource

Required if 'auth' param not used.

Authors

OpenStack tenant migration tools (@os-migrate)

Example Tasks

- os_migrate.os_migrate.os_conversion_host_info:
    server: source-migration-conversion-host
    auth:
      auth_url: https://dest-osp:13000/v3
      username: migrate
      password: migrate
      project_domain_id: default
      project_name: migration-destination
      user_domain_id: default
  register: os_dst_conversion_host_info