fail_json when error and not exit_json
This commit is contained in:
parent
461553bda8
commit
dcf4d7e6e5
1 changed files with 1 additions and 1 deletions
|
@ -1062,7 +1062,7 @@ def main():
|
|||
)
|
||||
|
||||
if not success:
|
||||
module.exit_json(
|
||||
module.fail_json(
|
||||
msg=err_msg, success=success, changed=changed
|
||||
)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue