Can use setup module with in Vcenter

I need obtain network info (IP, netmask, gateway, Broadcast…) in vcenter machines with my ansible machine and I obtain network with setup module, but of my Ansible machine. Can use hostname, password, username… ?