From 40c41ed4ec4e106933a98e10f12a2fd8de58ac40 Mon Sep 17 00:00:00 2001 From: Coderah Date: Fri, 6 Feb 2015 15:18:15 -0800 Subject: [PATCH] add hosted_zone information to ec2_elb_lb return --- lib/ansible/modules/cloud/amazon/ec2_elb_lb.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py b/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py index 51e135dc7e..19d530c2a0 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py +++ b/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py @@ -328,7 +328,9 @@ class ElbManager(object): 'security_group_ids': check_elb.security_groups, 'status': self.status, 'subnets': self.subnets, - 'scheme': check_elb.scheme + 'scheme': check_elb.scheme, + 'hosted_zone_name': check_elb.canonical_hosted_zone_name, + 'hosted_zone_id': check_elb.canonical_hosted_zone_name_id } if check_elb.health_check: