From 9cc35b094f1b34df257097d9ad931a222a20c9d4 Mon Sep 17 00:00:00 2001 From: Constantin Date: Thu, 22 Jun 2017 07:59:36 +0100 Subject: [PATCH] Fix of argument error in #25940 (#25979) --- lib/ansible/modules/cloud/amazon/ec2_remote_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2_remote_facts.py b/lib/ansible/modules/cloud/amazon/ec2_remote_facts.py index ff6385e698..a66ca39cce 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_remote_facts.py +++ b/lib/ansible/modules/cloud/amazon/ec2_remote_facts.py @@ -110,7 +110,7 @@ def get_instance_info(instance): instance_info = { 'id': instance.id, 'kernel': instance.kernel, - 'instance_profile': instance.instance_profile, + 'instance_profile': dict(instance.instance_profile), 'root_device_type': instance.root_device_type, 'private_dns_name': instance.private_dns_name, 'public_dns_name': instance.public_dns_name,