diff --git a/lib/ansible/modules/extras/cloud/amazon/ec2_remote_facts.py b/lib/ansible/modules/extras/cloud/amazon/ec2_remote_facts.py index 55c00910b7..792840c07f 100644 --- a/lib/ansible/modules/extras/cloud/amazon/ec2_remote_facts.py +++ b/lib/ansible/modules/extras/cloud/amazon/ec2_remote_facts.py @@ -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_adress': instance.ip_address, 'state': instance._state.name, 'vpc_id': instance.vpc_id, 'block_device_mapping': bdm_dict,