mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
EC2 module should report back the public_dns_name too.
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user