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
Sep 12, 2024 5:21am 0 VERSION_BUMP 7a299f58
May 21, 2024 9:06pm 3 VERSION_BUMP c4b69e27
May 7, 2024 11:41pm 2 VERSION_BUMP 4564a9db
Feb 8, 2024 8:14am 2 VERSION_BUMP bad65426
Jan 12, 2024 11:14am 1 VERSION_BUMP 844b16b2
Nov 9, 2023 12:19am 3 VERSION_BUMP 23596271
Nov 8, 2023 8:43am 3 VERSION_BUMP b1853650
Oct 18, 2023 12:05pm 2 VERSION_BUMP 205ea1a8
Oct 7, 2023 12:15pm 1 VERSION_BUMP e6c61c55
Oct 7, 2023 11:25am 1 VERSION_BUMP 3feff209
Sep 30, 2023 1:16am 0 VERSION_BUMP c236c9c2
Aug 30, 2023 10:14pm 0 VERSION_BUMP 300a182a
Aug 30, 2023 3:33pm 0 VERSION_BUMP a6a634ab
Aug 2, 2023 9:53am 2 VERSION_BUMP 122f8c43
Jun 3, 2023 2:55pm 0 VERSION_BUMP 65afeafb
Jun 3, 2023 12:44pm 0 VERSION_BUMP 654228ad