mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-01 06:54:16 +00:00
Update cheatsheets
This commit is contained in:
33
molecule
Normal file
33
molecule
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
|
||||
- List scenarios of the instance:
|
||||
|
||||
`molecule matrix converge`
|
||||
|
||||
- Log in into the instance:
|
||||
|
||||
`molecule login`
|
||||
Reference in New Issue
Block a user