Module - import_workload_src_check

This module provides for the following ansible plugin:

  • import_workload_src_check

Module Documentation

Check OpenStack workload in source cloud

Options

auth

Dictionary with parameters for chosen auth type.

auth_type

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

validate_certs

Validate HTTPS certificates when logging in to OpenStack.

region_name

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

name

Name (or ID) of an instance to check.

availability_zone

Availability zone.

cloud

Ignored. Present for backwards compatibility.

Authors

OpenStack tenant migration tools (@os-migrate)

Example Tasks

- name: ensure workload in source cloud is ready to continue
  os_migrate.os_migrate.import_workload_src_check:
    auth: '{{ os_migrate_src_auth }}'
    auth_type: '{{ os_migrate_src_auth_type|default(omit) }}'
    region_name: '{{ os_migrate_src_region_name|default(omit) }}'
    validate_certs: '{{ os_migrate_src_validate_certs|default(omit) }}'
    ca_cert: '{{ os_migrate_src_ca_cert|default(omit) }}'
    client_cert: '{{ os_migrate_src_client_cert|default(omit) }}'
    client_key: '{{ os_migrate_src_client_key|default(omit) }}'
    name: migration-vm
  when: prelim.changed