galaxy_ng
galaxy_ng copied to clipboard
Use ANSIBLE_BASE_JWT_KEY to make Galaxy aware of Envoy
Specifically in the case of downloading collections.
Before:
$ ansible-galaxy collection download -p . awx.awx -s https://localhost/api/hub/content/community/ --api-key=<INSERT_KEY_HERE> --ignore-certs --no-cache
Process download dependency map
Starting collection download process to '/home/bmclaugh/Downloads/_tmp'
Downloading http://localhost:5001/api/hub/v3/plugin/ansible/content/community/collections/artifacts/awx-awx-24.0.0.tar.gz to /home/bmclaugh/.ansible/tmp/ansible-local-3030078ycyczlke/tmpzw38d1oq/awx-awx-24.0.0-if08m8a7
Downloading collection 'awx.awx:24.0.0' to '/home/bmclaugh/Downloads/'
ERROR! Failed to download collection tar from 'cmd_arg' due to the following unforeseen error: HTTP Error 404: Not Found. HTTP Error 404: Not Found
After:
$ ansible-galaxy collection download -p . awx.awx -s https://localhost/api/hub/content/community/ --api-key=<INSERT_KEY_HERE> --ignore-certs --no-cache
Process download dependency map
Starting collection download process to '/home/bmclaugh/Downloads'
Downloading https://localhost/api/hub/v3/plugin/ansible/content/community/collections/artifacts/awx-awx-24.0.0.tar.gz to /home/bmclaugh/.ansible/tmp/ansible-local-2970413jpwpnnso/tmpbpkvb8my/awx-awx-24.0.0-nb1v7e1z
Downloading collection 'awx.awx:24.0.0' to '/home/bmclaugh/Downloads'
Collection 'awx.awx:24.0.0' was downloaded successfully
Writing requirements.yml file of downloaded collections to '/home/bmclaugh/Downloads/requirements.yml'
AAP-20998 No-Issue
/retest
/retest