ansible / galaxy-issues

This repository exists solely for the tracking of user issues with Ansible Galaxy.
20 stars 3 forks source link

Support for private repos #269

Closed deathowl closed 6 years ago

deathowl commented 7 years ago

Hello guys! We've been exploring using a self hosted galaxy instance to share ansible playbooks within the company, however most of them are in private repositories. By changing the scope in settings.py used by socialauth from public_repo to repo galaxy was able to get a token with required scopes to access private repos, so imports can finish successfully, however, when i try to ansible-galaxy install myorg.my-private-repo --server https://mygalaxyserver.com it fails the following way:

I'd propose some changes, which i'd be happy to implement as well: Changes to the Galaxy codebase:

Changes to the ansible codebase:

Please provide me a feedback on this.

Thanks: Balint

chouseknecht commented 6 years ago

This issue was moved to ansible/galaxy#45