The Ansible collections documentation
provides a number of ways for installing collections. The primary focus is on installing
from Ansible Galaxy.
However, I would like to host and install built collections (tar.gz) from an internal web server.
At this point, I am not interested in self-hosting a Galaxy server or installing the collections from a git repo (I don’t want to have to deal with permissions).
Is there a way to specify a url as the collection source when using ansible-galaxy collection install
.
That is, can this work?
$ ansible-galaxy collection install http://example.com/collection-X.X.X.tar.gz
and would I be able to specify a url path in requirements.yml
?