fix the return value of route53_zone (#33403)

All the values currently documented as return values are returned inside a 'result' key.
So if you registered the output of the task as 'output', then you would need to do 'output.result.zone_id' instead of 'output.zone_id'.
This commit fixes that so that you can do 'output.zone_id'.
pull/33420/head
Prasad Katti 7 years ago committed by Ryan Brown
parent 04877f4969
commit 1cc86167dd

@ -350,7 +350,7 @@ def main():
elif state == 'absent':
changed, result = delete(conn, module, matching_zones=zones)
module.exit_json(changed=changed, result=result)
module.exit_json(changed=changed, result=result, **result)
if __name__ == '__main__':
main()

Loading…
Cancel
Save