Actions
Bug #35390
closedpulp_ansible API is wrongly configured, leading to uninstallable content
Difficulty:
Triaged:
No
Description
reported in https://community.theforeman.org/t/ansible-collection-and-ansible-galaxy/29999/2
% ansible-galaxy collection install -r requirements.yml --ignore-certs Starting galaxy collection install process Process install dependency map Starting collection install process Downloading centos8-stream-katello-4-5.tanso.example.com/pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/Default_Organization/Library/custom/lol/ansible/collections/artifacts/theforeman-foreman-3.4.0.tar.gz to /home/evgeni/.ansible/tmp/ansible-local-3817261nrpb4wvj/tmpdqv0rst5/theforeman-foreman-3.4.0-qf9owvho ERROR! Unexpected Exception, this is probably a bug: unknown url type: 'centos8-stream-katello-4-5.tanso.example.com/pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/Default_Organization/Library/custom/lol/ansible/collections/artifacts/theforeman-foreman-3.4.0.tar.gz'
the issue is that we set ANSIBLE_API_HOSTNAME without a schema in /etc/pulp/settings.py
Actions