molecule
Molecule helps testing Ansible roles. More information: https://docs.ansible.com/projects/molecule/usage/.
- Create a new Ansible role:
molecule init role --role-name
- Run tests:
molecule test
- Start the instance:
molecule create
- Configure the instance:
molecule converge
- List scenarios of the instance:
molecule matrix converge
- Log in into the instance:
molecule login
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
