This commit ensures that successful attempts at creating registry credentials returns an rc == 0. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1602120
@@ -224,7 +224,7 @@ def run_module():
if changed:
write_config(module, docker_config, dest)
- result = {'changed': changed}
+ result = {'changed': changed, 'rc': 0}
module.exit_json(**result)