Skip to main content

Molecule aids in the development and testing of Ansible roles

Project description

About Ansible Molecule

PyPI Package Documentation Status image Python Black Code Style Ansible Code of Conduct Discussions Repository License

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://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

Download files

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

Source Distribution

molecule-24.2.0.tar.gz (343.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

molecule-24.2.0-py3-none-any.whl (113.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: molecule-24.2.0.tar.gz
  • Upload date:
  • Size: 343.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for molecule-24.2.0.tar.gz
Algorithm Hash digest
SHA256 47c982a7d05db7846da77fe7159deb946f26cafb2e388fc71812be0089a41776
MD5 847a3fa1b7962c91ce9b75f13b5078bb
BLAKE2b-256 3febd5c4c50ec5c2e80fa38ae90b7c3c7c582cd8f594c17b34793137c381d204

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molecule-24.2.0-py3-none-any.whl
  • Upload date:
  • Size: 113.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for molecule-24.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eac7d9bf12d2bf5254e13a46a40357615c32e7003409f305c3940e93b65d7bea
MD5 8238580d718c78dca3aabbd6b36cd9f2
BLAKE2b-256 a4e38ed0d76ea397275052b850260a305a02c2e4ab58df3800a7cd4b84216ff6

See more details on using hashes here.

Supported by

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