mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 17:06:05 +02:00
molecule: add page (#3223)
This commit is contained in:
parent
af602a181c
commit
a9499b442f
1 changed files with 24 additions and 0 deletions
24
pages/common/molecule.md
Normal file
24
pages/common/molecule.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# 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`
|
||||||
|
|
||||||
|
- Login into the instance:
|
||||||
|
|
||||||
|
`molecule login`
|
Loading…
Add table
Reference in a new issue