mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
cs_instance: fix host migration without volume (#46115)
This commit is contained in:
parent
7e8435b96d
commit
e7926cf9f4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue