I want to get disk sizes of multiple disks and sum them to check if the sum of their sizes is greater than the minimum required.
We are going to use LVM to create mountpoints, we need to be able to use singe disk or multiple disks.
I'm able to get individual disk sizes using ansible facts ( ansible_devices.items.sectors|int * ansible_devices.items.sectorsize|int) using with_items
I want to sum all of these. How do I do that