diff --git a/plugins/modules/vmware_guest_disk.py b/plugins/modules/vmware_guest_disk.py index ab277ad0a..bf10860cb 100644 --- a/plugins/modules/vmware_guest_disk.py +++ b/plugins/modules/vmware_guest_disk.py @@ -745,7 +745,6 @@ def ensure_disks(self, vm_obj=None): disk_spec = self.get_ioandshares_diskconfig(disk_spec, disk) disk_spec.device.capacityInKB = disk['size'] disk_change = True - # If disk is not vpmem we check if there is a change in disk mode if disk['disk_type'] != 'vpmemdisk' and disk['disk_mode'] != disk_spec.device.backing.diskMode: # set the operation to edit so that it knows to keep other settings