I wanted to be able to make the ansible inventory look into the database to get the correct hosts to work on.
To make this work, I wrote a Python script that queries