When installing roles from a GitHub repository with ansible-galaxy, the folder structure of the repo is completely changed and some of the names of roles moved are also different (i.e. in the output below, foreman_installer, foreman_devel, etc. become _installer, _devel and are moved into the parent directory)
STEPS TO REPRODUCE
requirements.yml
# from git
- src: https://github.com/theforeman/forklift
The ansible-galaxy CLI tool doesn't know how to deal with multiple roles contained in a single repository. It's built with the assumption that a repository is a role.
We're working toward support of mulit-role repositories in Mazer. Check out the docs here.
Bug Report
SUMMARY
When installing roles from a GitHub repository with ansible-galaxy, the folder structure of the repo is completely changed and some of the names of roles moved are also different (i.e. in the output below, foreman_installer, foreman_devel, etc. become _installer, _devel and are moved into the parent directory)
STEPS TO REPRODUCE
requirements.yml
Run command
EXPECTED RESULTS
Expected all of the roles imported from the forklift to be in the forklift/roles directory (https://github.com/theforeman/forklift/tree/master/roles)
ACTUAL RESULTS