molecule24.12.0
Published
Molecule aids in the development and testing of Ansible roles
pip install molecule
Package Downloads
Authors
Project URLs
Requires Python
>=3.10
Dependencies
- ansible-compat
>=24.6.1
- ansible-core
>=2.15.0
- click
<9,>=8.0
- click-help-colors
- enrich
>=1.2.7
- jsonschema
>=4.9.1
- Jinja2
>=2.11.3
- packaging
- pluggy
<2.0,>=0.7.1
- PyYAML
>=5.1
- rich
>=9.5.1
- wcmatch
>=8.1.2
- mkdocs-ansible
>=24.3.0; extra == "docs"
- pipdeptree
>=2.4.0; extra == "docs"
- linkchecker
>=10.4.0; extra == "docs"
- ansi2html
>=1.8.0; extra == "test"
- ansible-lint
>=6.12.1; extra == "test"
- black
; extra == "test"
- check-jsonschema
; extra == "test"
- coverage
[toml]; extra == "test"
- docker
>=7.1.0; extra == "test"
- filelock
>=3.9.0; extra == "test"
- mypy
; extra == "test"
- pexpect
<5,>=4.8.0; extra == "test"
- pip-tools
; extra == "test"
- pre-commit
; extra == "test"
- pydoclint
; extra == "test"
- pylint
; extra == "test"
- pytest
; extra == "test"
- pytest-mock
>=3.10.0; extra == "test"
- pytest-plus
>=0.4.0; extra == "test"
- pytest-xdist
; extra == "test"
- requests
!=2.32.0; extra == "test"
- ruff
; extra == "test"
- toml-sort
; extra == "test"
- tox
; extra == "test"
- types-jsonschema
; extra == "test"
- types-pexpect
; extra == "test"
- types-pyyaml
; extra == "test"
- pytest-testinfra
>=8.1.0; extra == "testinfra"
About Ansible Molecule
Molecule project is designed to aid in the development and testing of Ansible roles.
Molecule provides support for testing with multiple instances, operating systems and distributions, virtualization providers, test frameworks and testing scenarios.
Molecule encourages an approach that results in consistently developed roles that are well-written, easily understood and maintained.
Molecule supports only the latest two major versions of Ansible (N/N-1), meaning that if the latest version is 2.9.x, we will also test our code with 2.8.x.
Once installed, the command line can be called using any of the methods below:
molecule ...
python3 -m molecule ... # python module calling method
Documentation
Read the documentation and more at https://ansible.readthedocs.io/projects/molecule/.
Get Involved
See the Talk to us section of the documentation to ask questions, find help, and join the conversation.
For complete details, see the Ansible communication guide.
If you want to get moving fast and make a quick patch:
$ git clone https://github.com/ansible-community/molecule && cd molecule
$ python3 -m venv .venv && source .venv/bin/activate
$ python3 -m pip install -U setuptools pip tox
And you're ready to make your changes!
Authors
Molecule project was created by Retr0h and it is now community-maintained as part of the Ansible by Red Hat project.
License
The MIT License.
The logo is licensed under the Creative Commons NoDerivatives 4.0 License.
If you have some other use in mind, contact us.