fix changed-behaviour in check mode (to not always return True) (#37776)

pull/51898/head
Eike Frost 5 years ago committed by ansibot
parent 15cef845ca
commit 46dcc7d251

@ -800,6 +800,7 @@ def main():
if module._diff:
result['diff'] = dict(before=sanitize_cr(before_client),
after=sanitize_cr(updated_client))
result['changed'] = (before_client != updated_client)
module.exit_json(**result)

Loading…
Cancel
Save