Hi Ansible Community
In my collection I have a playbook which uses some modules from a different collection however, that collection is only published on GitHub and is not published on Ansible Galaxy.
How can I declare in my collection that this other dependent collection is required? AFAIK, in my collection’s galaxy.yml
file it only supports installing dependent collections that are available via Ansible Galaxy:
---
# galaxy.yml
...
dependencies:
community.general: "x.x.x"
# It's not possible to specify it here as a dependent collection, right?
I know that a user using my collection could have in their project’s requirements.yml
file like:
---
collections:
- name: my_namespace.my_collection
- name: https://github.com/org/theotherdependentcollection.git
type: git
version: x.x.x
But it just seems a bit clunky. The end user of my collection has to handle this dependent collection themselves, and the niceties of ansible-galaxy collection install
just installing all the dependent collections required by my collection is lost
Any response is greatly appreciated, thanks all and have a great day.