1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

The output of the digital ocean script was invalid for ID and droplet name groups. Hosts is now an array of strings rather than a string for these groups. (#16297)

This commit is contained in:
Adam Thomas 2016-06-15 14:49:14 +01:00 committed by Brian Coca
parent 624e7dae54
commit 27d0fe8d49

View file

@ -373,8 +373,8 @@ or environment variables (DO_API_TOKEN)''')
self.inventory['all']['hosts'].append(dest)
self.inventory[droplet['id']] = dest
self.inventory[droplet['name']] = dest
self.inventory[droplet['id']] = [dest]
self.inventory[droplet['name']] = [dest]
# groups that are always present
for group in [