Merge pull request #2336 from larsks/feature/os-subnet-returns-something

return information about created subnet
This commit is contained in:
Brian Coca 2015-10-23 14:51:05 -04:00
commit 59f11aa973

View file

@ -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: