Merge pull request #1509 from hslee16/devel

adding public ip address to ec2_remote_facts
This commit is contained in:
Abhijit Menon-Sen 2016-07-02 15:02:23 +05:30 committed by GitHub
commit dcb1ab6bed

View file

@ -128,6 +128,7 @@ def get_instance_info(instance):
'region': instance.region.name,
'persistent': instance.persistent,
'private_ip_address': instance.private_ip_address,
'public_ip_address': instance.ip_address,
'state': instance._state.name,
'vpc_id': instance.vpc_id,
'block_device_mapping': bdm_dict,