We’ve published our Ansible playbook and associated scripts we used to handle upgrading our CentOS 6 OpenStack hypervisor hosts to CentOS 7:

The README describes how it all works, but you will almost certainly have to make some changes for it to work in your environment.  Use at your own risk!  But hopefully this will be a good starting point for others doing this same work.