通知 Molecule 从 Ansible Galaxy 下载角色依赖项
dependency:
name: galaxy
options:
role-file: requirements.yml
但是,似乎没有任何关于如何通知 Molecule 下载 Collections 的文档。https://molecule.readthedocs.io/en/stable/configuration.html#ansible-galaxy没有列出集合选项,我在https://github.com/ansible/molecule上没有看到开放功能请求这个。
在这里询问是否这是 Molecule 已解决的问题,否则我想这将是 Molecule github repo 上的功能请求。我如何通知 Molecule 它需要为 ansible-galaxy 依赖项下载 Collection?
我的requirements.yml
文件如下所示:
---
roles:
- src: gantsign.visual-studio-code
- src: artis3n.bitwarden_app
collections:
- name: artis3n.github