fail_json when error and not exit_json

reviewable/pr18780/r1
Allen Sanabria 8 years ago
parent 461553bda8
commit dcf4d7e6e5

@ -1062,7 +1062,7 @@ def main():
)
if not success:
module.exit_json(
module.fail_json(
msg=err_msg, success=success, changed=changed
)
else:

Loading…
Cancel
Save