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:
commit
7c1fcd8e13
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue