Merge pull request #2349 from larsks/bug/router-should-return-id

make os_router return a top level 'id' key
This commit is contained in:
Brian Coca 2015-10-26 18:20:26 -04:00
commit 7c1fcd8e13

View file

@ -335,7 +335,9 @@ def main():
changed = True
module.exit_json(changed=changed, router=router)
module.exit_json(changed=changed,
router=router,
id=router['id'])
elif state == 'absent':
if not router: