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

Uploaded Source

Built Distribution

molecule-5.1.0-py3-none-any.whl (240.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for molecule-5.1.0.tar.gz
Algorithm Hash digest
SHA256 fa7af89fdf9317539c3eca99cb1e5e7522d7a57e0b67f5b698e44276f98d9d82
MD5 7f597828c98919f7094670562043133d
BLAKE2b-256 e769c2d5028b1cab582dd2df69d8603a6300c2f2ffeaaa14abcaed56f152a1a4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for molecule-5.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09f9f33d172b405abd762e2de9557c61160d14691a5bb82e36adbdbe47ba0133
MD5 272a3cf30c7ca7fafc9d1641ae6383a0
BLAKE2b-256 41115fe0b9b1290a9a745bd5dd22aa90893727cd84402512f183bbaf41e51bcc

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