Using ansible to run a test suite

Hi,
I have been working on Ansible for over 2 months now for the automation of patch fixes. The code has been integrated into the system. Now i want to know if there is any means by which i can run a previously developed test suite using ansible, thus preventing me from write excess python code.

Looking forward to your help.

Thanks in advance.
Varun Nagaraj