From 3978baf32f7766f5963c16a133b9606a3470e643 Mon Sep 17 00:00:00 2001 From: Ondra Machacek Date: Wed, 4 Oct 2017 10:32:49 +0200 Subject: [PATCH] ovirt_vms: Support to specify VM id (#31253) Fixes: https://github.com/ansible/ansible/issues/30873 --- lib/ansible/modules/cloud/ovirt/ovirt_vms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_vms.py b/lib/ansible/modules/cloud/ovirt/ovirt_vms.py index f62b37fe486..3e5119e8590 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_vms.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_vms.py @@ -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')