I have developed a custom collection that has 4 modules in python. The collection works fine if I attach it to the playbook directory structure (/ collections / ansible_collections / gbse / vcscollection).
But when I want to separate them, that is, I put my collection in a separate git, it doesn’t work for me.
The playbook is run from ansible tower and has the collections / requirements.yml file pointing to the git repository where I keep my collection, but it can’t find it.
The collections/requirements.yml contains this:
- name: gbse.vcscollection
src: git+https://github.ibm.com/GI-SVC-GBSE/vcscollection
type: git
version: master