1
0
Fork 0
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:
Alex Lee 2016-01-17 14:01:09 -08:00 committed by Matt Clay
parent 6c89f6951c
commit 393ddc16fa

View file

@ -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,