How to Test Ansible Roles with Molecule and Docker
Ansible Molecule is a tool used for testing and validating Ansible roles and playbooks in multiple scenarios. It helps automate the testing of Ansible code and ensures that it will work as intended when applied to target servers. In this tutorial, you will learn how to set up and test Ansible Roles automatically via Molecule and Docker.
Source: Howtoforge Linux Howtos und Tutorials