Compare remote server facts with host database

Hey Folks,

I am starting to work on an ansible project and would like to have some recommendations

I have about 5000 servers around the world that I would like to validate against my host database. What is the best way?

  1. Write custom modules?
  2. Use the facts returned from the remote server?
  3. Any other ideas?

validate what?

if it is host makeup/information, most of that is in the facts
gathered by ansible, which you can store in a centralized manner using
fact caching.
I would need more information to suggest and/or propose anything else.