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

Uploaded Source

Built Distribution

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

molecule-6.0.3-py3-none-any.whl (113.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for molecule-6.0.3.tar.gz
Algorithm Hash digest
SHA256 d2a881062fcc5ef1e08c1e5127c04354d2c95171955e270bd82b3fbfef72d3b0
MD5 4ca2ba8f16e62fdba9d467992f1e7059
BLAKE2b-256 55162e2ec50e14868739f320f5c74012c0bc52b40c45a66f3404d569c9479ed1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for molecule-6.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8e5d7a7841f9ed5dd26878d24951ec030b86f780aca17ffc509db8076f42de3d
MD5 0031c8e1f93aa489471fd11912b99552
BLAKE2b-256 08c2b643f9677065da7bcdc9067abc88a5f393ea5beb0e2fd6351447cf4a1720

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