mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Merge pull request #14984 from cboylan/fix-openstack-inventory
Fix openstack inventory for multiple servers
This commit is contained in:
@@ -149,7 +149,7 @@ def get_host_groups_from_cloud(inventory):
|
||||
else:
|
||||
for server in servers:
|
||||
append_hostvars(
|
||||
hostvars, groups, server['id'], servers[0],
|
||||
hostvars, groups, server['id'], server,
|
||||
namegroup=True)
|
||||
groups['_meta'] = {'hostvars': hostvars}
|
||||
return groups
|
||||
|
||||
Reference in New Issue
Block a user