Project

Profile

Help

Issue #9534

Updated by pulpbot over 2 years ago

 

 **Ticket moved to GitHub**: "pulp/pulp_ansible/747":https://github.com/pulp/pulp_ansible/issues/747 




 ---- 


 The galaxy.ansible.com API uses case-insensitive fields for the owner username and role name. The Ansible Galaxy Hub source code: https://github.com/ansible/galaxy/blob/e0e4b909171ddc6ca40f0ef2f7d4dce5680777ce/galaxy/api/views/roles.py#L50 

 But pulp usesnamespace=namespace. It causes the error on case-sensitive repositories (404 not found, or empty set). An example: 

 * https://galaxy.ansible.com/api/v1/roles/?owner__username=Oefenweb 
 * https://galaxy.ansible.com/api/v1/roles/?owner__username=oefenweb 

 Galaxy Ansible returns the same result. But pulp isn't. 

 So we can't install roles like this using regular `ansible-galaxy install oefenweb.postfix` command with the Pulp repo. 

 

Back