diff --git a/changelogs/fragments/typo_fix_vmware_guest_powerstate.yml b/changelogs/fragments/typo_fix_vmware_guest_powerstate.yml new file mode 100644 index 00000000000..db2fc5eee97 --- /dev/null +++ b/changelogs/fragments/typo_fix_vmware_guest_powerstate.yml @@ -0,0 +1,2 @@ +bugfixes: +- Fixed typo in vmware_guest_powerstate module (https://github.com/ansible/ansible/issues/65161). diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_powerstate.py b/lib/ansible/modules/cloud/vmware/vmware_guest_powerstate.py index c134c29ad6a..f46c8c1f75c 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_powerstate.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_powerstate.py @@ -263,7 +263,7 @@ def main(): vm.name, to_native(e.msg))) except vim.fault.DuplicateName as e: - module.exit_json(chanaged=False, details=to_native(e.msg)) + module.exit_json(changed=False, details=to_native(e.msg)) except vmodl.fault.InvalidArgument as e: module.fail_json(msg="Failed to create scheduled task %s as specifications " "given are invalid: %s" % (module.params.get('state'),