Example project showing how to test Ansible roles with Molecule using Testinfra and a multiscenario approach with Docker, Vagrant & AWS EC2 as infrastructure providers
https://blog.codecentric.de/en/2018/12/test-driven-infrastructure-ansible-molecule/