molecule
« Back to VersTracker
Description:
Automated testing for Ansible roles
Type: Formula  |  Latest Version: 25.12.0@3  |  Tracked Since: Dec 2, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: ansible testing devops infrastructure-as-code python
Install: brew install molecule
About:
Molecule is a tool designed to aid in the development and testing of Ansible roles. It provides a framework for creating and managing test scenarios, allowing users to verify role functionality across different environments. By orchestrating Docker containers or virtual machines, it ensures that roles are idempotent and work as expected before deployment.
Key Features:
  • Scenario-based testing framework
  • Support for multiple provisioners (Docker, Podman, Vagrant, etc.)
  • Integration with Verifier tools like Testinfra or Goss
  • Automated cleanup of test environments
Use Cases:
  • Unit testing Ansible roles in isolation
  • Continuous Integration (CI) for Ansible content
  • Verifying role compatibility across different OS versions
Alternatives:
  • ansible-test – Ansible's native testing tool, generally used for modules/plugins rather than roles.
  • Bats – A TAP-compliant test suite for Bash, requires manual setup for Ansible environments.
Version History
Detected Version Rev Change Commit
Jan 17, 2026 8:15am 3 REVISION_ONLY 087b463b
Jan 10, 2026 8:21am 2 REVISION_ONLY 535bf899
Dec 2, 2025 5:26pm 0 VERSION_BUMP a3cb043a
Nov 24, 2025 11:21pm 0 VERSION_BUMP 180de8bb
Nov 10, 2025 5:55pm 0 VERSION_BUMP faabeea7
Oct 28, 2025 2:41am 0 VERSION_BUMP 2a1d68ab
Oct 25, 2025 9:54am 0 VERSION_BUMP 6f8dbc35
Oct 25, 2025 2:06am 0 VERSION_BUMP 6d415ee9
Dec 4, 2024 8:13am 3 VERSION_BUMP 317f15b5
Oct 8, 2024 12:56pm 1 VERSION_BUMP e2274945
Sep 14, 2024 4:51am 0 VERSION_BUMP fd6e0eba