converge
To bring a machine to the described state; in Molecule, the phase that applies the role to the test instance.
In more detail
A converged host already matches its description, so a further run changes nothing. Molecule runs converge, then verify; running converge a second time and seeing no changes is how it tests idempotency.
Related terms
- idempotency — The property of an operation that gives the same result whether you run it once or many times, because a repeat run finds nothing left to do.
- 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.
- desired state — A description of how a machine should look when the work is finished, rather than a list of steps to get there.
Taught in
- Modules And Idempotency — Ansible Configuration Management at Scale
- Check Mode And Diff — Ansible Configuration Management at Scale
- Testing With Molecule — Ansible Configuration Management at Scale