Idempotency fixes (#1838)

This commit is contained in:
Matthew Mosesohn
2017-10-25 21:19:40 +01:00
committed by GitHub
parent 7123956ecd
commit 86fb669fd3
9 changed files with 25 additions and 8 deletions

View File

@ -288,8 +288,6 @@ def main():
else:
module.fail_json(msg='Unrecognized state %s.' % state)
if result:
changed = True
module.exit_json(changed=changed,
msg='success: %s' % (' '.join(result))
)