Skip to content

Commit

Permalink
stable-4.x: Fix hardware version upgrade ierrors not reported (ansibl…
Browse files Browse the repository at this point in the history
…e-collections#2249)

SUMMARY
Backport ansible-collections#2010
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
vmware_guest
  • Loading branch information
mariolenz authored Nov 15, 2024
1 parent 67a6933 commit a1ea150
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 a1ea150

Please sign in to comment.