mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
adding public ip address
This commit is contained in:
parent
6c89f6951c
commit
393ddc16fa
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ def get_instance_info(instance):
|
||||||
'region': instance.region.name,
|
'region': instance.region.name,
|
||||||
'persistent': instance.persistent,
|
'persistent': instance.persistent,
|
||||||
'private_ip_address': instance.private_ip_address,
|
'private_ip_address': instance.private_ip_address,
|
||||||
|
'public_ip_adress': instance.ip_address,
|
||||||
'state': instance._state.name,
|
'state': instance._state.name,
|
||||||
'vpc_id': instance.vpc_id,
|
'vpc_id': instance.vpc_id,
|
||||||
'block_device_mapping': bdm_dict,
|
'block_device_mapping': bdm_dict,
|
||||||
|
|
Loading…
Reference in a new issue