diff --git a/lib/ansible/modules/cloud/cloudstack/cs_instance.py b/lib/ansible/modules/cloud/cloudstack/cs_instance.py index 5289ab8eca..2449a77a82 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_instance.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_instance.py @@ -840,7 +840,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack): 'hostid': self.get_host_id(), } if not self.module.check_mode: - res = self.query_api('migrateVirtualMachineWithVolume', **args_host) + res = self.query_api('migrateVirtualMachine', **args_host) instance = self.poll_job(res, 'virtualmachine') return instance