From b55c973444adf20600173028d29c876c9d34a20b Mon Sep 17 00:00:00 2001 From: Nijin Ashok Date: Sun, 30 Oct 2016 17:56:45 +0530 Subject: [PATCH] Fix issue in activating the VM disk while attaching disk Currently tag is passed within the disk element which is incorrect. As a result, disk will remain inactive even though the default option is true. --- lib/ansible/modules/extras/cloud/ovirt/ovirt_vms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/cloud/ovirt/ovirt_vms.py b/lib/ansible/modules/extras/cloud/ovirt/ovirt_vms.py index 0652b24c10a..0cda1f62964 100644 --- a/lib/ansible/modules/extras/cloud/ovirt/ovirt_vms.py +++ b/lib/ansible/modules/extras/cloud/ovirt/ovirt_vms.py @@ -532,8 +532,8 @@ class VmsModule(BaseModule): otypes.DiskAttachment( disk=otypes.Disk( id=disk_id, - active=disk.get('activate', True), ), + active=disk.get('activate', True), interface=otypes.DiskInterface( disk.get('interface', 'virtio') ),