我有一个 git 项目,剧本中的角色很少,我想使用 ansible Galaxy 中的角色之一。
回购的克隆正在工作,但在存档阶段失败:
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
使用requirements.yml
文件,和
ansible-galaxy install --role-file=requirements.yml --roles-path=roles --force
知道存档失败的原因吗?我可以只下载角色而不是整个项目(search-mysql)吗?
谢谢,