molecule: add page (#3223)
This commit is contained in:

committed by
Owen Voke

parent
af602a181c
commit
a9499b442f
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`
|
Reference in New Issue
Block a user