ansible/molecule

An ansible-native testing framework for collections, playbooks, and roles with configurable workflows for testing any system or service

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 16 minutes ago
Added to GitGenius on September 16th, 2026
Created on November 18th, 2015
Open Issues & Pull Requests: 76 (+0)
GitHub issues: Enabled
Number of forks: 678
Total Stargazers: 4,150 (+0)
Total Subscribers: 107 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 5.9 days
Mean response time: 99.9 days
90th percentile: 393.1 days
Tracked items: 87

Most active contributors

Sign in to see contributor activity.

How this project is maintained

95% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "new" is answered fastest, typically in about 2 days, while "bug" waits about 11 days. Three people close 60% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 41
New in 7 days: 0
Closed in 7 days: 2
Avg open age: 753 days
Stale 30+ days: 32
Stale 90+ days: 20

Recent activity

Opened in 7 days: 0
Closed in 7 days: 2
Comments in 7 days: 2
Events in 7 days: 6

Top labels

  • bug (29)
  • new (20)
  • enhancement (5)
  • help wanted (3)
  • needs-update (3)
  • proposal (3)
  • complex (2)
  • docs (2)

Detailed Description

Molecule is a testing framework for Ansible collections, playbooks, and roles that enables developers to validate infrastructure code through configurable workflows.

Molecule addresses the challenge of testing Ansible automation at scale by providing an integrated testing environment that can spin up test instances, execute Ansible code against them, and verify the results. The framework abstracts away the complexity of orchestrating multiple testing tools by offering a unified interface where developers define test scenarios in configuration files. It supports multiple drivers for provisioning test infrastructure, allowing teams to run tests locally or in CI/CD pipelines without changing their test definitions.

Teams should adopt Molecule when they need reliable, repeatable validation of Ansible code before deploying to production. It suits projects of any size that use Ansible collections, playbooks, or roles and want to catch configuration drift or logic errors early. The tool is particularly valuable for role developers and collection maintainers who need to verify their code works across different environments. Molecule's configurable workflows mean it can adapt to testing requirements ranging from simple syntax validation to complex multi-node scenarios with service dependencies.

The project maintains active engagement with its community through regular issue triage and response to pull requests. Development follows a structured approach to feature requests and bug reports, with clear communication about the project's direction. The codebase receives ongoing maintenance to support new Ansible features and testing patterns as they emerge. The project demonstrates commitment to backward compatibility while evolving its capabilities to meet changing testing needs in the Ansible ecosystem.