Zend certified PHP/Magento developer

Ansible to set IOPS limits on all disks of all vCenter guest VMs

For some testing reason I need to set all VM disks IOPS limits for all VMs on given vCenter (a) to some given number or (b) to unlimited.

I planed to use API calls to get VM list, the disks list, the iterate over these lists setting IOPS limits, but still in early point just reading the API structure docs.

I found Ansible can handle guests disks properties, but I can see in all examples I need to set up all properties (incl. size, type etc), not just IOPS limits, and don’t know how to iterate over all VMs and disks in Andible.

Thank you in advance!