[2.9] VMware: Fix typo in fail_json in vmware_guest_powerstate (#65163)

Fixed typo from "chanaged" to "changed"

Fixes: #65161

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit d7039b6633)
pull/65015/head^2
Abhijeet Kasurde 5 years ago committed by Matt Davis
parent 1ca54af370
commit 1ccfef9c5a

@ -0,0 +1,2 @@
bugfixes:
- Fixed typo in vmware_guest_powerstate module (https://github.com/ansible/ansible/issues/65161).

@ -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'),

Loading…
Cancel
Save