We run awx in a kubernetes cluster, and have some local ansible modules
we want to use with it. I've made those into a Collection, and put that
into our internal git repos (Azure Devops).
Now I'm trying to convince awx to actually install them! If I package
the collection up as a tarball (using ansible-galaxy collection build)
and put it on some random http server, it will fetch it OK. Supposedly I
can also use a format like this in the requirements.yml file:
- name:
https://MyOrgan...@dev.azure.com/MyOrganisation/MyProject/our-ansible-collection.git
type: git
version: main
The error I'm getting is that it's not a valid tar file. It's not clear
if it's successfully downloading the file though. It doesn't look like
awx passes any special credentials to galaxy, and the downloaded file
appears to only be a few hundred bytes in size (according to the error
dump).
Does anyone else already do this?