verifier
The Molecule setting and phase that checks the converged test instance really shows the results the role promises.
In more detail
With Ansible as the verifier, the checks are tasks, usually assertions, in a verify playbook. Verify observable outcomes, such as a file or a running service, rather than internal task order.
Related terms
- Molecule — A testing framework for Ansible roles that creates a disposable test machine, applies the role, checks the result and destroys the machine.
- assertion — A check that a condition is true, which stops a test or program with a failure if it is false.
- Molecule scenario — A named Molecule test setup, configured in molecule/<name>/molecule.yml, that fixes the driver, platforms, provisioner and verifier for one test run.
Taught in
- Testing With Molecule — Ansible Configuration Management at Scale