mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 07:26:03 -03:30
Turns out "hostId" is not a good unique host identifier in openstack.
Switching to use "id" instead.
This commit is contained in:
@@ -103,7 +103,7 @@ class OpenStackInventory(object):
|
||||
server_vars = meta['server_vars']
|
||||
hostvars[server.name]['ansible_ssh_host'] = server_vars['interface_ip']
|
||||
hostvars[server.name]['openstack'] = server_vars
|
||||
hostvars[server.name]['hostId'] = server_vars['hostId']
|
||||
hostvars[server.name]['id'] = server_vars['id']
|
||||
|
||||
for group in meta['groups']:
|
||||
groups[group].append(server.name)
|
||||
|
||||
Reference in New Issue
Block a user