From d1214484e60676d80c4b08dff8325fb257650bff Mon Sep 17 00:00:00 2001 From: Ondra Machacek Date: Wed, 28 Feb 2018 14:04:28 +0100 Subject: [PATCH] ovirt_vms: Fix boot devices idempotence (#36833) --- lib/ansible/modules/cloud/ovirt/ovirt_vms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_vms.py b/lib/ansible/modules/cloud/ovirt/ovirt_vms.py index 69ae5573354..fabd3387121 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_vms.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_vms.py @@ -1099,7 +1099,7 @@ class VmsModule(BaseModule): equal(self.param('cpu_shares'), entity.cpu_shares) and equal(self.param('delete_protected'), entity.delete_protected) and equal(self.param('use_latest_template_version'), entity.use_latest_template_version) and - equal(self.param('boot_devices'), [str(dev) for dev in getattr(entity.os, 'devices', [])]) and + equal(self.param('boot_devices'), [str(dev) for dev in getattr(entity.os.boot, 'devices', [])]) and equal(self.param('instance_type'), get_link_name(self._connection, entity.instance_type), ignore_case=True) and equal(self.param('description'), entity.description) and equal(self.param('comment'), entity.comment) and