mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
make os_router return a top level 'id' key
make os_router return a top-level 'id' key, much like other os_* resources.
This commit is contained in:
parent
4faff0a56a
commit
51fae74e7c
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue