Molecule aids in the development and testing of Ansible roles
Project description
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
Documentation
Read the documentation and more at https://molecule.readthedocs.io/.
Get Involved
Join us in the #ansible-molecule channel on Freenode.
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!
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
Built Distribution
Hashes for molecule-3.2.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5991372b630f3f1dbd328f4cafb9e9dcde9788bc067821a140a63b9fe2533e32 |
|
MD5 | e5d344d931c6c2ddead8118d07287cc0 |
|
BLAKE2b-256 | 36e94fad6f0fe2c9c6fbe9a47d7c1272cf97474f9fa51fe3aea521db5a1bb79b |