mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
parent
04877f4969
commit
1cc86167dd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue