--- - name: Report Disk Space Availability hosts: all gather_facts: yes tasks: - name: Display available disk spaces for all mounts ansible.builtin.debug: msg: > Mount: {{ item.mount }} | Size Total: {{ (item.size_total / 1024 / 1024 / 1024) | round(2) }} GB | Size Available: {{ (item.size_available / 1024 / 1024/ 1024) | round(2) }} GB loop: "{{ ansible_mounts }}" loop_control: label: "{{ item.mount }}"