Merge pull request #2336 from larsks/feature/os-subnet-returns-something
return information about created subnet
This commit is contained in:
commit
59f11aa973
1 changed files with 3 additions and 1 deletions
|
@ -302,7 +302,9 @@ def main():
|
|||
changed = True
|
||||
else:
|
||||
changed = False
|
||||
module.exit_json(changed=changed)
|
||||
module.exit_json(changed=changed,
|
||||
subnet=subnet,
|
||||
id=subnet['id'])
|
||||
|
||||
elif state == 'absent':
|
||||
if not subnet:
|
||||
|
|
Loading…
Reference in a new issue