Ansible VMware capacity check

Hello all,
I want to create a vm machine on VMware infra but prior to that I would like to check available space in data store cluster.

Also in that I would like to check available free cpu and memory in cluster

Please help me to achive this prerequisite.