mirror of
https://github.com/ansible/ansible.git
synced 2026-08-07 00:14:40 +02:00
Save api id to index as an int instead of a list
This commit is contained in:
@@ -204,7 +204,7 @@ class LinodeInventory(object):
|
||||
dest = node.label
|
||||
|
||||
# Add to index
|
||||
self.index[dest] = [node.api_id]
|
||||
self.index[dest] = node.api_id
|
||||
|
||||
# Inventory: Group by node ID (always a group of 1)
|
||||
self.inventory[node.api_id] = [dest]
|
||||
|
||||
Reference in New Issue
Block a user