Closed mkobel closed 3 years ago
Thank you for reporting this! This is definitely a fault on our side, a regression from an earlier change to the way parameters were read.
I'm sorry we took so long to get back to you, this flew under our radar. I created a pull request that should fix your issue. It'll have to go through internal QA first, but expect a new release by next week. We have a new feature coming up that will be released at the same time. I'll be sure to give this the appropriate priority internally.
Output of
ansible-inventory --list -i inventory-dynamic-cloudscale.yml -vvv
Inventory
inventory-dynamic-cloudscale.yml
:(Based on https://docs.ansible.com/ansible/2.10/collections/cloudscale_ch/cloud/inventory_inventory.html#examples)
Inventory config from
ansible.cfg
Installed configuring
requirements.txt
and executingansible-galaxy collection install -r requirements.yml -p collections
It works for me with the following changes:
from ..module_utils.api import API_URL
from plugins/inventory/inventory.py#L82API_URL + '/servers',
withself.get_option('api_url') + '/servers',
in plugins/inventory/inventory.py#L99Is there something wrong with my setup or is this a bug?