I have this requirements.yml
snippet:
- name: myrole
scm: git
src: git@gitlab.mygitlab.com:category/project.git
version: master
When I install it using ansible-galaxy install -r requirements.yml
, the repository is cloned properly, but the submodules are not initialised. This can possibly be resolved using some sort of local action task, but that means I have to keep track of what dependencies every role I want to include needs which is far from ideal. Is there a better solution?