mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 20:02:09 +02:00
24 lines
353 B
Markdown
24 lines
353 B
Markdown
# molecule
|
|
|
|
> Molecule helps testing Ansible roles.
|
|
> More information: <https://molecule.readthedocs.io>.
|
|
|
|
- Create a new Ansible role:
|
|
|
|
`molecule init role --role-name {{role_name}}`
|
|
|
|
- Run tests:
|
|
|
|
`molecule test`
|
|
|
|
- Start the instance:
|
|
|
|
`molecule create`
|
|
|
|
- Configure the instance:
|
|
|
|
`molecule converge`
|
|
|
|
- Log in into the instance:
|
|
|
|
`molecule login`
|