mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
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'.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user