Skip to main content

Molecule aids in the development and testing of Ansible roles

Project description

PyPI Package Documentation Status https://github.com/ansible-community/molecule/workflows/tox/badge.svg Python Black Code Style Ansible Code of Conduct Discussions Repository License

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 ...
mol ...  # same as above, introduced in 3.0.5
python3 -m molecule ...  # python module calling method

Documentation

Read the documentation and more at https://molecule.readthedocs.io/.

Get Involved

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.

Project details


Release history Release notifications | RSS feed

This version

3.6.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

molecule-3.6.0.tar.gz (296.4 kB view details)

Uploaded Source

Built Distribution

molecule-3.6.0-py3-none-any.whl (241.3 kB view details)

Uploaded Python 3

File details

Details for the file molecule-3.6.0.tar.gz.

File metadata

  • Download URL: molecule-3.6.0.tar.gz
  • Upload date:
  • Size: 296.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for molecule-3.6.0.tar.gz
Algorithm Hash digest
SHA256 2efeeea8c0cdb6d987c9e6374725b99e745a669ff7489346e69ab7a62dc86448
MD5 15d1da50f1b690d74d18330749c7ef22
BLAKE2b-256 110e42f2c3a1d99019b2c8f5e7aadbec10ed72a2bf6305eab0255eaf916ff6cb

See more details on using hashes here.

File details

Details for the file molecule-3.6.0-py3-none-any.whl.

File metadata

  • Download URL: molecule-3.6.0-py3-none-any.whl
  • Upload date:
  • Size: 241.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for molecule-3.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ff4134a6b5da276a3eac67eb5214bedeb3b62575d8f9131e22e8f3551a0e63a
MD5 6239fd3514ecf48a65278016fa1060bc
BLAKE2b-256 66929789f51d69729a5c3acf35d1a7dcdb27e36d9804fa63f96233517f7f5b2a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page