ovirt_vms: Support to specify VM id (#31253)

Fixes: https://github.com/ansible/ansible/issues/30873
This commit is contained in:
Ondra Machacek 2017-10-04 10:32:49 +02:00 committed by ansibot
parent 9c6ad3d076
commit 3978baf32f

View file

@ -640,6 +640,7 @@ class VmsModule(BaseModule):
disk_attachments = self.__get_storage_domain_and_all_template_disks(template)
return otypes.Vm(
id=self.param('id'),
name=self.param('name'),
cluster=otypes.Cluster(
name=self.param('cluster')