cohesity / cohesity.dataprotect / 1.1.9 / module / cohesity_migration_status Check Sync status of objects available in the VM migration task | "added in version" 1.1.9 of cohesity.dataprotect" Authors: Naveena (@naveena-maplelabs)cohesity.dataprotect.cohesity_migration_status (1.1.9) — module
Install with ansible-galaxy collection install cohesity.dataprotect:==1.1.9
collections: - name: cohesity.dataprotect version: 1.1.9
Ansible Module used to poll for status of objects in a Cohesity Migration Job
When executed in a playbook, the insync sttaus of objects in Cohesity migration Job will be returned.
# Poll migration status - name: Get status in the VM migration task cohesity_migration_status: cluster: cohesity.lab username: admin password: password state: present task_id: "2520974734107749:1675035602065:2559"
state: choices: - present - absent default: present description: - Determines the state of the Recovery Job. - (C)present a recovery job will be created and started. - (C)absent is currently not implemented type: str cluster: aliases: - cohesity_server description: - IP or FQDN for the Cohesity Cluster type: str task_id: description: - Task Id of the migrate job. type: str cohesity_admin: aliases: - admin_name - cohesity_user - username description: - Username with which Ansible will connect to the Cohesity Cluster. Domain Specific credentails can be configured in following formats - AD.domain.com/username - AD.domain.com/username@tenant - LOCAL/username@tenant type: str validate_certs: aliases: - cohesity_validate_certs default: true description: - Switch determines if SSL Validation should be enabled. type: bool cohesity_password: aliases: - password - admin_pass description: - Password belonging to the selected Username. This parameter will not be logged. type: str