From 12812d21c5505445ad6f676d8af5d5c7a01c755f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Magalh=C3=A3es?= <4622652+pjrm@users.noreply.github.com> Date: Wed, 22 Aug 2018 18:57:02 +0100 Subject: [PATCH] Add 'instance_protocol' parameter when fetching ELB Listeners (#40785) This PR changes the ec2_elb_facts module to output the value of ELB InstanceProtocol --- lib/ansible/modules/cloud/amazon/ec2_elb_facts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/cloud/amazon/ec2_elb_facts.py b/lib/ansible/modules/cloud/amazon/ec2_elb_facts.py index ae19d04fda1..a7f0a90d537 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_elb_facts.py +++ b/lib/ansible/modules/cloud/amazon/ec2_elb_facts.py @@ -128,6 +128,7 @@ class ElbInformation(object): 'load_balancer_port': listener[0], 'instance_port': listener[1], 'protocol': listener[2], + 'instance_protocol': listener[3] } try: