Molecule driver
The Molecule setting that decides where test instances run, such as containers, virtual machines or an existing machine.
In more detail
The default driver uses instances you create yourself, while plugins add drivers for Podman, Docker and cloud platforms. Whatever passes is proven only for that driver and its images, not for every operating system you support.
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.
- 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.
- container — A running program that has been fenced off from the rest of the computer so it only sees its own files, network and processes.
- virtual machine — A complete pretend computer, with its own operating system, running as software on a real computer.
Taught in
- Testing With Molecule — Ansible Configuration Management at Scale