Automic VaultAutomic Vault

brew

Install molecule with Homebrew, Nix, pacman, zypper

Automated testing for Ansible roles. Version 26.6.0 via Homebrew; verified 2026-07-01.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install molecule

local Homebrew formula metadata

overview

Package summary

Automated testing for Ansible roles

Commands and aliases

  • molecule

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for molecule. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 6 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/molecule/config.yml./config.ymlextensions/molecule/config.ymlmolecule.yml

executables

Installed executables

CommandKindExposureNote
moleculecliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version26.6.0
manager updated2026-07-01
local dataok
upstreamnot checked
latest detectednot detected

https://molecule.readthedocs.io

install metadata

Package metadata

Package keybrew:molecule
Version26.6.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/molecule
Homepagehttps://molecule.readthedocs.io
Repositoryhttps://github.com/ansible/molecule
Upstream docshttps://docs.ansible.com/projects/molecule
LicenseMIT
Source archivehttps://files.pythonhosted.org/packages/b6/81/7391315d9e10d7a37bb11d0d83d5d03303f698292465e3c1620028a3abf7/molecule-26.6.0.tar.gz
Last updated2026-07-01T13:19:30Z
Pulseupdated
Dependenciesansible, certifi, cryptography, libyaml, python@3.14, rpds-py
Uses from macOSlibffi
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemolecule
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

molecule

nix profile install nixpkgs#molecule
  • normalized package name match
  • Matched by: Molecule
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: molecule from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
pacman95%

molecule 26.4.0-2

Aids in the development and testing of Ansible roles

https://github.com/ansible-community/molecule

sudo pacman -S molecule
  • License: MIT
  • Architecture: any
  • 12 dependencies
  • 4 optional deps
  • normalized package name match
  • Matched by: Molecule
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: molecule from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

molecule 26.3.0-1.1

Aids in the development and testing of Ansible roles

https://github.com/ansible-community/molecule

sudo zypper install molecule
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: molecule
  • 12 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Molecule
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: molecule from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment