Module - import_workload_dst_check
This module provides for the following ansible plugin:
import_workload_dst_check
Module Documentation
Check OpenStack workload in source cloud
Options
- auth
Required if 'cloud' param not used
- 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.
- availability_zone
Availability zone.
- data
Data structure with server parameters as loaded from OS-Migrate workloads YAML file.
- dst_filters
Options for filtering the migration idempotence lookup, e.g. by project.
- cloud
Cloud resource from clouds.yml
Required if 'auth' param not used.
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_dst_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) }}'
data: {}
when: prelim.changed