Use Ansible to audit server configs across life-cycle environments?

Does Ansible provide the ability to effectively provide a diff of configuration files of server components across lifecycle environments? I have a requirement to be able to tell if my JVM’s and AppServers have the same configuration across acceptance and production. I know Ansible provides alot more functionality but I’m hoping someone has done a similar kind of thing… Any feedback is appreciated!

Ansible does not do this automatically, but you can use
fetch/slurp/copy and diff mode to accomplish it.

You could check for a “file stat get_md5” and register it for output to a datafile