Project

Profile

Help

Issue #7767

Updated by daviddavis about 4 years ago

From the Ansible Galaxy User Guide[0]: "The url option for each server name must end with a forward slash `/`." 

 Note though, however, that the ansible-galaxy CLI does a special substitution for galaxy: 

 https://github.com/ansible/ansible/blob/a51a6f4a259b45593c3f803737c6d5d847258a83/lib/ansible/galaxy/api.py#L52-L53 

 I tried to make the code smart by first trying the remote/source URL and then trying to append "/api/". I think we should just copy what the ansible-galaxy CLI is doing. doing though. 

 [0] https://github.com/ansible/ansible/blob/a51a6f4a259b45593c3f803737c6d5d847258a83/docs/docsite/rst/shared_snippets/galaxy_server_list.txt#L19 

Back