Commit 3aa10d9d by Michael DeHaan

Merge pull request #8145 from amandolo/ec2_tag

Fix EC2_TAG module output structure when listing tags
parents 64b87412 d346b76f
......@@ -142,7 +142,7 @@ def main():
module.exit_json(msg="Tags %s removed for resource %s." % (dictremove,resource), changed=True)
if state == 'list':
module.exit_json(changed=False, **tagdict)
module.exit_json(changed=False, tags=tagdict)
sys.exit(0)
# import module snippets
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment