Inventory file to csv

Hi

Any one created a playbook for collecting the certificates from all servers in use, which can write to csv or excel

Any help appreciated

Thanks

Hii,
What does your current playbook look like?

Still not yet started but thought of starting