Molecule aids in the development and testing of Ansible roles
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
Read the documentation and more at https://molecule.readthedocs.io/.
- Join us in the #ansible-molecule irc channel on libera.chat.
- Check github discussions.
- Join the community working group by checking the wiki.
- Want to know about releases, subscribe to ansible-announce list.
- For the full list of Ansible email Lists, IRC channels see the communication page.
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!
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size molecule-3.5.2-py3-none-any.whl (240.2 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size molecule-3.5.2.tar.gz (291.0 kB)||File type Source||Python version None||Upload date||Hashes View|