You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you install directly from a git URL, then yes, the role name ends up being the repo name. Don't think we're going to fix this in the existing ansible-galaxy client. It may get enabled in Mazer.
Bug Report
SUMMARY
I want to use a custom role name, that is not the name of the repo. So I use
role_name
as explained hereSTEPS TO REPRODUCE
ansible-galaxy init my-role
role_name: custom-name
ingalaxy_info
inmeta/main.yml
ansible-galaxy install git+https://...
EXPECTED RESULTS
role is available as
custom-name
in the playbooksACTUAL RESULTS
role is available as
my-role
wich is the repo's nameYou can try with
ansible-galaxy install git+https://github.com/pdesgarets/my-role.git
.Thanks.
The text was updated successfully, but these errors were encountered: