macOS
brew install moleculelocal Homebrew formula metadata
安装
brew install moleculelocal Homebrew formula metadata
nix profile install nixpkgs#moleculenixpkgs package indexes · molecule · 来源: raw.githubusercontent.com
sudo pacman -S moleculeArch Linux sync databases · molecule · 来源: geo.mirror.pkgbuild.com
sudo zypper install moleculeopenSUSE Tumbleweed package metadata · molecule · 来源: download.opensuse.org
概览
Automated testing for Ansible roles
历史
Molecule is an Ansible testing framework for developing and testing Ansible collections, playbooks, and roles. The Ansible project README credits Retr0h as the creator and describes the project as community-maintained as part of Ansible by Red Hat. Its official documentation presents Molecule as a framework that uses standard Ansible concepts such as inventory, playbooks, and collections to test systems reachable through containers, virtual machines, cloud infrastructure, APIs, databases, network devices, and other targets.
The major adoption turning point came in 2018, when Ansible announced that it would adopt molecule and ansible-lint as official Red Hat Ansible projects. The announcement said the tools were community-built and important to Ansible automation development, thanked Cisco and John Dewey for work on Molecule, and described migration of the repositories to the ansible GitHub organization while keeping the PyPI package name molecule. That move gave Molecule a formal place in the Ansible toolchain rather than leaving it as a separate community utility.
In practice, Molecule gives role and collection authors a repeatable local and CI workflow: initialize a scenario, create or converge test instances, run Ansible content, then verify behavior through Ansible-native checks or external verifiers. The docs show CI use with GitHub Actions, Travis CI, GitLab CI, Azure Pipelines, and molecule test. Community adoption is visible in Ansible role maintainers replacing homegrown Docker-based test rigs with Molecule-based tests after the Red Hat adoption announcement.
The project broadened from role-only testing toward playbooks and collections. Red Hat's 2023 Molecule 6 developer-preview article framed Molecule as part of the Ansible Automation Platform developer experience and emphasized functional testing for Ansible content, including collection-level testing and making the Testinfra verifier optional in favor of Ansible-native validation.
安全态势
没有找到 molecule 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.config/molecule/config.yml./config.ymlextensions/molecule/config.ymlmolecule.yml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
molecule | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://molecule.readthedocs.io
安装元数据
| 软件包键 | brew:molecule |
|---|---|
| 版本 | 26.6.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/molecule |
| 主页 | https://molecule.readthedocs.io |
| 仓库 | https://github.com/ansible/molecule |
| 上游文档 | https://docs.ansible.com/projects/molecule |
| 许可证 | MIT |
| 源码归档 | https://files.pythonhosted.org/packages/b6/81/7391315d9e10d7a37bb11d0d83d5d03303f698292465e3c1620028a3abf7/molecule-26.6.0.tar.gz |
| 最后更新 | 2026-07-01T13:19:30Z |
| Pulse | updated |
| 依赖 | ansible, certifi, cryptography, libyaml, python@3.14, rpds-py |
| macOS 提供的库 | libffi |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | molecule |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
molecule
nix profile install nixpkgs#moleculemolecule 26.4.0-2
Aids in the development and testing of Ansible roles
https://github.com/ansible-community/molecule
sudo pacman -S moleculemolecule 26.3.0-1.1
Aids in the development and testing of Ansible roles
https://github.com/ansible-community/molecule
sudo zypper install molecule来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.