From 2e35d5716bacf425ff19930f572c8147a3f7eace Mon Sep 17 00:00:00 2001 From: Etherdaemon Date: Fri, 12 Aug 2016 15:04:21 +1000 Subject: [PATCH] Remove camel_dict_to_snake_dict as this was breaking the module itself - the result is a list --- lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py b/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py index 3901d5555e..ac098ba5e9 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py +++ b/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py @@ -147,7 +147,7 @@ def main(): results = get_nat_gateways(connection, module) - module.exit_json(result=camel_dict_to_snake_dict(results)) + module.exit_json(result=results) # import module snippets from ansible.module_utils.basic import *