Closed Forsbakk closed 3 years ago
AFAIK -r is just an alias, it's important to call install and not role install or collection install.
I am sorry. It is different behavior based on ansible-galaxy version, not the flag.
Current version on docker hub
ansible-galaxy --version
ansible-galaxy 2.9.13
2.9.13 will not install this YML successfully
collections:
- name: netbox.netbox
ansible-galaxy --version
ansible-galaxy 2.10.2
2.10.2 install's it successfully
Ok, than it's solved with the latest plugin version.
Changed Galaxy flag from --role-file to -r so you may use it to install collections as well.
https://docs.ansible.com/ansible/latest/user_guide/collections_using.html