Skip to content

Commit

Permalink
Fix errors occuring during hardware version upgrade not being reported (
Browse files Browse the repository at this point in the history
fixes ansible-collections#2001) (ansible-collections#2010)

SUMMARY
This fixes ansible-collections#2001.
ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME
vmware_guest

Reviewed-by: Mario Lenz <[email protected]>
  • Loading branch information
Yannik authored Nov 15, 2024
1 parent ccf14a9 commit 324a44e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bugfixes:
- vmware_guest - Fix errors occuring during hardware version upgrade not being reported.
(https://github.com/ansible-collections/community.vmware/pull/2010).
4 changes: 3 additions & 1 deletion plugins/modules/vmware_guest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3185,7 +3185,9 @@ def reconfigure_vm(self):
self.relospec.deviceChange = []
self.configure_guestid(vm_obj=self.current_vm_obj)
self.configure_cpu_and_memory(vm_obj=self.current_vm_obj)
self.configure_hardware_params(vm_obj=self.current_vm_obj)
err = self.configure_hardware_params(vm_obj=self.current_vm_obj)
if err is not None:
return err
self.configure_encryption_params(vm_obj=self.current_vm_obj)
self.configure_disks(vm_obj=self.current_vm_obj)
self.configure_network(vm_obj=self.current_vm_obj)
Expand Down

0 comments on commit 324a44e

Please sign in to comment.