fail_json when error and not exit_json

pull/18777/head
Allen Sanabria 8 years ago committed by Matt Clay
parent 38349f226a
commit ba17bdf1d0

@ -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