mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
EC2 module should report back the public_dns_name too.
This commit is contained in:
parent
b9442b2468
commit
2ee05f0c96
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