From d346b76fb7d036757d7953fb54bc9bc819b570b7 Mon Sep 17 00:00:00 2001 From: Andrea Mandolo Date: Tue, 15 Jul 2014 14:26:53 +0200 Subject: [PATCH] Fix EC2_TAG module output structure when listing tags --- library/cloud/ec2_tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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