custom collection

14 views
Skip to first unread message

Luciano BAEZ

unread,
Nov 3, 2021, 12:29:58 PM11/3/21
to Ansible Development
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
Reply all
Reply to author
Forward
0 new messages