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).

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://ansible.readthedocs.io/projects/molecule/.

Get Involved

See the Talk to us section of the documentation to ask questions, find help, and join the conversation.

For complete details, see the Ansible communication guide.

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-25.7.0.tar.gz (4.4 MB view details)

Uploaded Source

Built Distribution

molecule-25.7.0-py3-none-any.whl (140.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: molecule-25.7.0.tar.gz
  • Upload date:
  • Size: 4.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for molecule-25.7.0.tar.gz
Algorithm Hash digest
SHA256 a258ccaf0a2d15aa0b492fc4a5ad63868bb229e098451cd9a58fbf4015bba510
MD5 3bfbdf665e2efda1d3cf0678909fb78e
BLAKE2b-256 3e7a5036ea11faa5ef3df8e6f247e122b10c425e54d9f1e06a458f9b1c2de8bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for molecule-25.7.0.tar.gz:

Publisher: release.yml on ansible/molecule

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: molecule-25.7.0-py3-none-any.whl
  • Upload date:
  • Size: 140.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for molecule-25.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4184fdc2494a17fe6aecb144c01e14e6929cc5d2b5461ebfe90ed3fe3f37d01d
MD5 113b1af2433006b772acacd407e0435d
BLAKE2b-256 b0a9e2b8125230d7739928405f69d3816c5e34588d784685b284ae59423d748c

See more details on using hashes here.

Provenance

The following attestation bundles were made for molecule-25.7.0-py3-none-any.whl:

Publisher: release.yml on ansible/molecule

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page