Problem:
Could not find ‘available_versions’ at https://artifactory.example.com/artifactory/api/ansible/ansible-repo-example/api/v3/collections/test/collection/
Foreman and Proxy versions:
Foreman: 3.12.1
Foreman-proxy: 3.12.1
- Name: foreman-tasks
Version: 9.2.3 - Name: foreman_ansible
Version: 14.2.1 - Name: foreman_puppet
Version: 7.0.0 - Name: foreman_remote_execution
Version: 13.2.5 - Name: foreman_webhooks
Version: 3.2.3 - Name: katello
Version: 4.14.1
Foreman and Proxy plugin versions:
- Name: dynflow
Version: 0.9.3 - Name: script
Version: 0.11.4 - Name: pulpcore
Version: 3.3.0 - Name: ansible
Version: 3.5.6 - Name: shellhooks
Version: 0.9.3 - Name: tftp
Version: 3.12.1 - Name: dhcp
Version: 3.12.1 - Name: puppetca
Version: 3.12.1 - Name: puppet
Version: 3.12.1
10)Name: logs
Version: 3.12.1
Distribution and version:
Red Hat Enterprise Linux release 8.10 (Ootpa)
Other relevant data:
I am using an Ansible repository on Artifactory and the ‘Repository Layout’ is ‘ansible-default’.
I have published my Ansible collection using the command ansible-galaxy collection publish test/collection/test-collection-1.0.0.tar.gz -s https://artifactory.example.com/artifactory/api/ansible/ansible-repo-example --token=...
.
The structure created in the Artifactory repository is:
In the repository configuration of type ‘ansible_collection’ I have indicated the following fields:
- Upstream URL: https://artifactory.example.com/artifactory/api/ansible/ansible-repo-example/api/v3/collections/test/collection/
- Upstream Authorization: user/token
Thanks in advance .