mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #1853 from jure/more_info_from_ec2
EC2 module should report back the public_dns_name too
This commit is contained in:
commit
1cbc9569b3
1 changed files with 1 additions and 0 deletions
|
@ -181,6 +181,7 @@ def main():
|
||||||
d = {
|
d = {
|
||||||
'id': inst.id,
|
'id': inst.id,
|
||||||
'public_ip': inst.ip_address,
|
'public_ip': inst.ip_address,
|
||||||
|
'public_dns_name': inst.public_dns_name
|
||||||
}
|
}
|
||||||
instances.append(d)
|
instances.append(d)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue