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. Depending on the driver chosen, you may need to install additional OS packages. See INSTALL.rst, which is created when initializing a new scenario. Ansible is not listed as a direct dependency of molecule package because we only call it as a command-line tool. You may want to install it using your distribution package installer. It is your responsibility to assure that soft dependencies of Ansible are available on your controller or host machines.

Features

  • Improve the development and testing of Ansible roles
  • Molecule provides support for testing with multiple instances
  • Virtualization providers, test frameworks and testing scenarios
  • Molecule supports only the latest two major versions of Ansible
  • Licensed under the MIT License
  • Results in consistently developed roles that are well-written

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Ansible Molecule

Ansible Molecule Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ansible Molecule!

Additional Project Details

Programming Language

Python

Related Categories

Python Software Development Software, Python Software Testing Tool, Python Command Line Tools

Registered

2022-03-09