If this is the problem then virtualenv is a better solution. Now that I think about it it could be useful on platforms where Ansible is not available (Windows?).
A few more comments: you could use pip instead of apt-get for an up-to-date version of Ansible, and you may want to create a Virtualbox share to access the project from the Ansible VM. Also does it actually work? I'm asking because I can't see anything to sort out the SSH credentials.