Hello,
A few weeks ago I have discovered an excellent tool named molecule that really simplify testing of Ansible roles. I guess it’s really worth to try!
Molecule is designed to aid in the development and testing of Ansible roles including support for multiple instances, operating system distributions, virtualization providers and test frameworks.
It leverages Vagrant to manage virtual machines, with support for multiple Vagrant providers (currently VirtualBox and OpenStack). Molecule supports Serverspec or Testinfra to run tests. Molecule uses an Ansible playbook (playbook.yml), to execute the role and its tests.
There is also a short intro from 2015 OpenStack Summit Tokyo - Best practices for TDD Ansible and OpenStack deployment.
Regards,
Borys