molecule
Molecule aids in the development and testing of Ansible roles
Subcommands
Name | Description |
---|---|
check | Use the provisioner to perform a Dry-Run (destroy, dependency, create, prepare, converge) |
cleanup | Use the provisioner to cleanup any changes made to external systems during the stages of testing |
converge | Use the provisioner to configure instances (dependency, create, prepare converge) |
create | Use the provisioner to start the instances |
dependency | Manage the role's dependencies |
destroy | Use the provisioner to destroy the instances |
drivers | List drivers |
idempotence | Use the provisioner to configure the instances and parse the output to determine idempotence |
init | Initialize a new role or scenario |
lint | Lint the role (dependency, lint) |
list | List status of instances |
login | Log in to one instance |
matrix | List matrix of steps used to test instances |
prepare | Use the provisioner to prepare the instances into a particular starting state |
reset | Reset molecule temporary folders |
side-effect | Use the provisioner to perform side-effects to the instances |
syntax | Use the provisioner to syntax check the role |
test | Test (dependency, lint, cleanup, destroy, syntax, create, prepare, converge, idempotence, side_effect, verify, cleanup, destroy) |
Options
Name | Description |
---|---|
--help |
|
--version | Show molecule version |