There is a galaxy role: git@site.net/ansible-myapp.git
I can install it like this:
ansible-galaxy install git+git@site.net/ansible-myapp.git
, but it creates a role with the name "ansible-myapp".
How can I install a role with a different name than in git url?
It's possible to do via requirements.yml:
- src: git@site.net/ansible-myapp.git
scm: git
name: myapp
ansible-galaxy install -r requirements.yml will install it with the name "myapp"
But how to do it in one command without requirements.yml file?