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

Uploaded Source

Built Distribution

molecule-6.0.1-py3-none-any.whl (229.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: molecule-6.0.1.tar.gz
  • Upload date:
  • Size: 483.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for molecule-6.0.1.tar.gz
Algorithm Hash digest
SHA256 b2c0111d5b44a77a56ef7eb85a1c61b470165b97d11578a2a168047334c8df23
MD5 0290360c98e35fc57acefb896d01bbae
BLAKE2b-256 d199ff56d9f55f81f63d965a4402bee4145d741ad451b39ae83104a1dae4b850

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molecule-6.0.1-py3-none-any.whl
  • Upload date:
  • Size: 229.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for molecule-6.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b65723cca4c1d8d87e5a04ab8f5d418689e68ac4ecb85b9d7051e1d733d6574b
MD5 9dc9099caa75fdf4c7632daaf4901ce1
BLAKE2b-256 52ea6c23cf5d9e09d89efeb97c1c5158e01f37229adc6adf1b4c71d3aa08ca2e

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