mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
This commit is contained in:
committed by
Ryan Brown
parent
a439f45a18
commit
3e52f47b51
@@ -108,9 +108,11 @@ def get_instance_info(instance):
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
instance_profile = dict(instance.instance_profile) if instance.instance_profile is not None else None
|
||||
|
||||
instance_info = { 'id': instance.id,
|
||||
'kernel': instance.kernel,
|
||||
'instance_profile': dict(instance.instance_profile),
|
||||
'instance_profile': instance_profile,
|
||||
'root_device_type': instance.root_device_type,
|
||||
'private_dns_name': instance.private_dns_name,
|
||||
'public_dns_name': instance.public_dns_name,
|
||||
|
||||
Reference in New Issue
Block a user