From 2ee05f0c9638c68dc3155d709d085aec0cf9bcc1 Mon Sep 17 00:00:00 2001 From: Jure Triglav Date: Thu, 10 Jan 2013 16:14:47 +0100 Subject: [PATCH 1/2] EC2 module should report back the public_dns_name too. --- library/ec2 | 1 + 1 file changed, 1 insertion(+) diff --git a/library/ec2 b/library/ec2 index d8c42919bd..b3bc521825 100644 --- a/library/ec2 +++ b/library/ec2 @@ -181,6 +181,7 @@ def main(): d = { 'id': inst.id, 'public_ip': inst.ip_address, + 'public_dns_name': inst.public_dns_name } instances.append(d) From 3f43ede70ceae73406ff940309f4e1c38af0f92d Mon Sep 17 00:00:00 2001 From: Jure Triglav Date: Thu, 10 Jan 2013 16:21:18 +0100 Subject: [PATCH 2/2] Fix indentation --- library/ec2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ec2 b/library/ec2 index b3bc521825..eb9100ecc4 100644 --- a/library/ec2 +++ b/library/ec2 @@ -181,7 +181,7 @@ def main(): d = { 'id': inst.id, 'public_ip': inst.ip_address, - 'public_dns_name': inst.public_dns_name + 'public_dns_name': inst.public_dns_name } instances.append(d)