diff options
author | René Moser <mail@renemoser.net> | 2018-09-25 16:48:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-25 16:48:45 +0200 |
commit | e7926cf9f450359e711ba545bec1cfb5f24be27b (patch) | |
tree | 3104a392961cadf7bbcbfd4311e4824b5fa3f473 | |
parent | 7e8435b96d836c153f8979d38ba3b169f278bbf4 (diff) | |
download | ansible-e7926cf9f450359e711ba545bec1cfb5f24be27b.tar.gz |
cs_instance: fix host migration without volume (#46115)
-rw-r--r-- | lib/ansible/modules/cloud/cloudstack/cs_instance.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |