I did this very thing for Cento 7 only yesterday. I simply followed the instructions in the main Ansible docs for making an RPM from the stable-2.1 branch of the GitHub repo and it worked really well. The only gotcha is to make sure that you also clone all of the git submodules otherwise you won't include all of the latest Ansible module updates.
'You can also build an RPM yourself. From the root of a checkout or tarball, use the make rpm command to build an RPM you can distribute and install. Make sure you have rpm-build, make, asciidoc, git, python-setuptools and python2-devel installed......'