storing/inserting Ansible facts into mysql database

Hi Guys,

I wanted to store facts of all servers(setup module data/output) into mysql database(for easy custom facts retrieval later)
Can someone please give ideas on how to achieve this.
Thanks in advance.

–Anil