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:
parent
624e7dae54
commit
27d0fe8d49
1 changed files with 2 additions and 2 deletions
|
@ -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 [
|
||||
|
|
Loading…
Reference in a new issue