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

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.9.0.tar.gz (4.4 MB view details)

Uploaded Source

Built Distribution

molecule-24.9.0-py3-none-any.whl (120.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: molecule-24.9.0.tar.gz
  • Upload date:
  • Size: 4.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for molecule-24.9.0.tar.gz
Algorithm Hash digest
SHA256 8548eda13c31a1ea41ba0786b29dde466cfb812617c25792151335b17a410f63
MD5 e8db665417f50b14754de62d5286751d
BLAKE2b-256 dc721c30d07b90b56c0521abaf999e14daf75ae493405d3ee91171fed15b75ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molecule-24.9.0-py3-none-any.whl
  • Upload date:
  • Size: 120.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for molecule-24.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ecb15e4c6b66e208e0621e19b100d471a06cd114371f46449620e7eda3ec0a62
MD5 24a1b32efab975ce471e08112981e737
BLAKE2b-256 0aa665319648d792cfdab7240b8ca1e565e09a9c004e640d5180a2ef95e468aa

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