Merge pull request from amandolo/ec2_tag

Fix EC2_TAG module output structure when listing tags
This commit is contained in:
Michael DeHaan 2014-07-17 07:45:53 -04:00
commit dc2c62c9c2

View file

@ -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