fact gathering does this for you already, the ansible_mounts key has 'size' and 'size available' for each mount.
to do it manually just use 'setup' module directly. -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJ5XC8m892ai62Mh%3DundDJg%2BqgTHTB1PuJFJL2z7NV4W0iBKWA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
