diff --git a/library/cloud/ec2_tag b/library/cloud/ec2_tag index 5cae1cf3ab..4a33112189 100644 --- a/library/cloud/ec2_tag +++ b/library/cloud/ec2_tag @@ -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