Fix typo
This commit is contained in:
parent
88433eb93f
commit
348b49c166
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ Successful returns are made like this::
|
||||||
|
|
||||||
And failures are just as simple (where 'msg' is a required parameter to explain the error)::
|
And failures are just as simple (where 'msg' is a required parameter to explain the error)::
|
||||||
|
|
||||||
module.exit_json(msg="Something fatal happened")
|
module.fail_json(msg="Something fatal happened")
|
||||||
|
|
||||||
There are also other useful functions in the module class, such as module.md5(path). See
|
There are also other useful functions in the module class, such as module.md5(path). See
|
||||||
lib/ansible/module_common.py in the source checkout for implementation details.
|
lib/ansible/module_common.py in the source checkout for implementation details.
|
||||||
|
|
Loading…
Reference in a new issue