Leif Madsen from Red Hat offers this solution. Check it out on GitHub
Deploy quagga configurations for OSP-d lab. These templates and playbooks are used in an OSP-d deployment where a layer 3 networking fabric is used. The data here may be generic enough for you to use outside of an OpenStack deployment but some additional changes may be required.