Closed esommars closed 3 years ago
Seems like this is not a bug, the ansible.cfg should have
[inventory]
enable_plugins = community.upcloud.upcloud, host_list, yaml
instead of only this:
[inventory]
enable_plugins = community.upcloud.upcloud
Good to hear that you figured it out! :) Yeah, on my machine I don't even need the ansible.cfg
file at all – works fine without it. Maybe the README should be changed to mention that you only need to change the ansible.cfg like that in certain cases 🤔
README has now been updated ^
Calling the command below works without the collection,
ansible-playbook -u root -i '94.237.xxx.xx,' app.yml
Adding it produces this:[WARNING]: Unable to parse 94.237.xxx.xx, as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'