Skip to main content

Molecule aids in the development and testing of Ansible roles

Project description

PyPI Package Documentation Status https://zuul-ci.org/gated.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.0.5

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.0.5.tar.gz (310.2 kB view details)

Uploaded Source

Built Distribution

molecule-3.0.5-py2.py3-none-any.whl (286.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: molecule-3.0.5.tar.gz
  • Upload date:
  • Size: 310.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for molecule-3.0.5.tar.gz
Algorithm Hash digest
SHA256 11a77db3c066294e4d968ee1dc8c5a2b5e4955a6448060edd5161652e04e366d
MD5 0e2488aebf580435812e5d4881c85929
BLAKE2b-256 5cdba6650399a451c21d5adb2d029ae634445decb5b39ea451b9a5fff9053003

See more details on using hashes here.

File details

Details for the file molecule-3.0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: molecule-3.0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 286.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for molecule-3.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5ae1d58c0173ce11ea831843fdbf1462770658683e84573d54c3b5bda21ed2cd
MD5 0737012a1472e0cd5279e6a1b7d18c03
BLAKE2b-256 063184ea44bdc5bce97e81d22a5c3d70d4ab81b699567c36ba5799017aad5807

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