mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix EC2_TAG module output structure when listing tags
This commit is contained in:
parent
f063aafeeb
commit
d346b76fb7
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ def main():
|
||||||
module.exit_json(msg="Tags %s removed for resource %s." % (dictremove,resource), changed=True)
|
module.exit_json(msg="Tags %s removed for resource %s." % (dictremove,resource), changed=True)
|
||||||
|
|
||||||
if state == 'list':
|
if state == 'list':
|
||||||
module.exit_json(changed=False, **tagdict)
|
module.exit_json(changed=False, tags=tagdict)
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
# import module snippets
|
# import module snippets
|
||||||
|
|
Loading…
Reference in a new issue