I have a git project with few roles in the playbook, I want to use one of the roles in ansible galaxy.
The clone of the repo is working but it fails in the stage of archive it:
executing: git clone https://myuser@github.com/my-project/search-mysql search-mysql executing: git archive --prefix=search-mysql/ --output=/tmp/tmp3f6ySq.tar search
command git archive --prefix=search-mysql/ --output=/tmp/tmp3f6ySq.tar search failed
Using requirements.yml
file, and
ansible-galaxy install --role-file=requirements.yml --roles-path=roles --force
any idea why the archive is failing? can I only download the role and not the entire project(search-mysql)?
Thanks,