1
0
Fork 0
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:
Lars Kellogg-Stedman 2015-10-23 13:32:37 -04:00 committed by Matt Clay
parent 4faff0a56a
commit 51fae74e7c

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: