make os_router return a top level 'id' key

make os_router return a top-level 'id' key, much like other
os_* resources.
reviewable/pr18780/r1
Lars Kellogg-Stedman 9 years ago
parent 12b0582f9e
commit d82460a372

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

Loading…
Cancel
Save