make os_router return a top level 'id' key

make os_router return a top-level 'id' key, much like other
os_* resources.
pull/4420/head
Lars Kellogg-Stedman 2015-10-23 13:32:37 -04:00 committed by Matt Clay
parent 4faff0a56a
commit 51fae74e7c
1 changed files with 3 additions and 1 deletions

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: