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

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.5.0a0.tar.gz (291.1 kB view details)

Uploaded Source

Built Distribution

molecule-3.5.0a0-py3-none-any.whl (240.3 kB view details)

Uploaded Python 3

File details

Details for the file molecule-3.5.0a0.tar.gz.

File metadata

  • Download URL: molecule-3.5.0a0.tar.gz
  • Upload date:
  • Size: 291.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for molecule-3.5.0a0.tar.gz
Algorithm Hash digest
SHA256 59ebcab2c337b4032ef66c4b3d92b95b875e762c426850a94978ff7743adbadf
MD5 6b6c503f1a364d8aa0a3894d484f5868
BLAKE2b-256 ba2ba5cdd2018a910829615444cfdb4caa2b8bf06270af50a7775d090f7bf372

See more details on using hashes here.

File details

Details for the file molecule-3.5.0a0-py3-none-any.whl.

File metadata

  • Download URL: molecule-3.5.0a0-py3-none-any.whl
  • Upload date:
  • Size: 240.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for molecule-3.5.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f00724729e69ad44196198edcbdf8923332043eeebb0324f4f6ca1b3227333a
MD5 bffd37ed2fab0710e7bd4fa83060f756
BLAKE2b-256 7c65f97e05615eab011850177e296085aa844df3c6ac2e66c43741337d4208d6

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