From 5e40af07327baefaf054c336cc9726aed76d1fa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=81=BA=28Kai=20Xia=29?= Date: Tue, 14 Mar 2017 05:00:16 +1100 Subject: [PATCH] [cloud] change returned type of tag in ec2_snapshot_facts, fix #22431. (#22432) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Xia Kai(夏恺) --- lib/ansible/modules/cloud/amazon/ec2_snapshot_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2_snapshot_facts.py b/lib/ansible/modules/cloud/amazon/ec2_snapshot_facts.py index 1fd91960983..a007005f246 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_snapshot_facts.py +++ b/lib/ansible/modules/cloud/amazon/ec2_snapshot_facts.py @@ -141,7 +141,7 @@ owner_alias: sample: 033440102211 tags: description: Any tags assigned to the snapshot. - type: list + type: dict sample: "{ 'my_tag_key': 'my_tag_value' }" encrypted: description: Indicates whether the snapshot is encrypted.