Lovely use of Ansible, an indespensible devops tool.
Although, i would suggest looking into docker. All this and more can be achieved in a far more isolated, replicable and stable environment. Development through to production.
There are new concepts in docker, although once past the (small) learning curve you will never look back. Trust me.