From 433829769efbe5cbf822c939dfb4aaf9046f4379 Mon Sep 17 00:00:00 2001 From: Dan Vaida Date: Mon, 6 Mar 2017 19:27:30 +0200 Subject: [PATCH] [cloud] Fix data types in ec2_elb_lb causing resource to be spuriously updated (#21906) fixes broken idempotence caused by the idle_timeout and cross_az_load_balancing params. (#21906) --- lib/ansible/modules/cloud/amazon/ec2_elb_lb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py b/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py index e3986bc9fa..88dc9aed02 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py +++ b/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py @@ -1242,8 +1242,8 @@ def main(): purge_subnets={'default': False, 'required': False, 'type': 'bool'}, scheme={'default': 'internet-facing', 'required': False}, connection_draining_timeout={'default': None, 'required': False}, - idle_timeout={'default': None, 'required': False}, - cross_az_load_balancing={'default': None, 'required': False}, + idle_timeout={'default': None, 'type': 'int', 'required': False}, + cross_az_load_balancing={'default': None, 'type': 'bool', 'required': False}, stickiness={'default': None, 'required': False, 'type': 'dict'}, access_logs={'default': None, 'required': False, 'type': 'dict'}, wait={'default': False, 'type': 'bool', 'required': False},