1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #5689 from pgehres/devel

Adding the region to the output of the ec2 module's creation of a new in...
This commit is contained in:
James Cammarata 2014-02-26 14:45:12 -06:00
commit 3274785350

View file

@ -549,6 +549,7 @@ def get_instance_info(inst):
'image_id': inst.image_id, 'image_id': inst.image_id,
'key_name': inst.key_name, 'key_name': inst.key_name,
'placement': inst.placement, 'placement': inst.placement,
'region': inst.placement[:-1],
'kernel': inst.kernel, 'kernel': inst.kernel,
'ramdisk': inst.ramdisk, 'ramdisk': inst.ramdisk,
'launch_time': inst.launch_time, 'launch_time': inst.launch_time,