VMware: Fix typo in fail_json in vmware_guest_powerstate (#65162)
Fixed typo from "chanaged" to "changed" Fixes: #65161 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
dc59880c31
commit
d7039b6633
2 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue