← All tools

Molecule Gem

Test your Ansible roles and collections in throwaway containers or VMs.

What it is

Molecule spins up instances, applies your role, checks idempotence, runs verification tests and tears everything down. It turns "I think this playbook works" into a repeatable test you can run in CI.

Instead of

Running playbooks against a shared dev box and hoping

Reach for it when

You maintain Ansible roles that more than one machine or person depends on.

Try it in a few minutes

pip install molecule "molecule-plugins[docker]" ansible-core
cd my-role
molecule init scenario --driver-name docker
molecule test

Related

Mailpit Gem

A local SMTP server and web inbox for testing the emails your app sends.

Instead of: MailHog (unmaintained), sending test emails to your own address