ansible/molecule
An ansible-native testing framework for collections, playbooks, and roles with configurable workflows for testing any system or service observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 85
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 41.0
- age_days: 3942
- days_rel: 21
- days_push: 7
- n_releases_24m: 19
Adoption not part of the score
4132 stars · 674 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Molecule is an Ansible-native testing framework for developing and testing Ansible collections, playbooks, and roles. It uses standard Ansible features like inventory and playbooks to build configurable test scenarios against containers, VMs, cloud services, and network devices.
Use cases
- test ansible roles before publishing them
- run integration tests for ansible collections
- verify playbooks against containerized instances
- validate ansible roles across multiple platforms
- test infrastructure automation code in CI
- check dynamic inventory configurations
When to choose
- you develop Ansible roles, collections, or playbooks and need repeatable tests
- you want scenario-based testing with configurable drivers like Docker or Podman
- you need to test Ansible content against real systems, clouds, or network devices
- you want consistent, maintainable Ansible content development workflows
When to avoid
- you are not using Ansible for automation
- you need unit testing for general Python code
- you want simple linting only without scenario execution
Facets
cli-tool · maturity active
testing e2e-testing cli testing developer-tools python cli windows ansible testinfra infrastructure-as-code-testing molecule-drivers podman automation devops linux macos docker
2 sources
- readme: https://github.com/ansible/molecule · fetched 2026-08-28 · c9db8e825ed8
- registry_pypi: https://pypi.org/pypi/molecule/json · fetched 2026-08-29 · ef0e299307a1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ansible/molecule | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="ansible/molecule")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem