mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
be1c517f4d
commit
edccfd5908
1 changed files with 1 additions and 2 deletions
|
@ -248,8 +248,7 @@ class LibcloudInventory(object):
|
||||||
|
|
||||||
node = self.get_node(node_id)
|
node = self.get_node(node_id)
|
||||||
instance_vars = {}
|
instance_vars = {}
|
||||||
for key in vars(instance):
|
for key, value in vars(node).items():
|
||||||
value = getattr(instance, key)
|
|
||||||
key = self.to_safe('ec2_' + key)
|
key = self.to_safe('ec2_' + key)
|
||||||
|
|
||||||
# Handle complex types
|
# Handle complex types
|
||||||
|
|
Loading…
Reference in a new issue