Hi,
tl;dr - What variable to change in a config file for Galaxy NG to be able to download collections?
Long read:
I installed this: Development - Galaxy NG which is now running on my Debian GCP machine.
On my machine I have the ansible.cfg setup correctly as ansible-galaxy collection publish
is working. The thing is that ansible-galaxy collection install
is not.
It looks for the collection in the right place but then when it comes to the actual download galaxy sends that it resides on localhost. Here is how it looks like:
Process install dependency map
Initial connection to galaxy_server: http://<gcp-server>:55001/api/galaxy/
Found API version 'v3, pulp-v3' with Galaxy server published (http://<gcp-server>:55001/api/galaxy/)
Opened /Users/<uid>/.ansible/galaxy_token
Calling Galaxy at http://<gcp-server>:55001/api/galaxy/v3/collections/broadcom/endevor/
Calling Galaxy at http://<gcp-server>:55001/api/galaxy/v3/collections/broadcom/zowe_core_3/
Starting collection install process
Fetching a collection tarball for 'broadcom.endevor:8.0.3' from Ansible Galaxy
Downloading http://localhost:55001/api/galaxy/v3/plugin/ansible/content/published/collections/artifacts/broadcom-endevor-8.0.3.tar.gz to /Users/...
ERROR! Failed to download collection tar from 'published' due to the following unforeseen error: <urlopen error [Errno 61] Connection refused>. <urlopen error [Errno 61] Connection refused>
I know that this deployment of Galaxy (the one that is described in the link above) is just for development purposes but nothing else worked (at least not last week).
I suspect that some variable in the galaxy_ng directory has to be set to <gcp-server>
and not localhost, so that is what I want to ask - Does anybody know what variable should I change in what config file? (I am running the oci/standalone)