From d9246aacd0eb66946673582ffbb5fa0d57261434 Mon Sep 17 00:00:00 2001 From: Brian Coca <brian.coca+git@gmail.com> Date: Sat, 20 Feb 2016 14:46:18 -0500 Subject: [PATCH] fixed mount sizes for linux --- lib/ansible/module_utils/facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/facts.py b/lib/ansible/module_utils/facts.py index d00e46f1091..fd5729c7c0d 100644 --- a/lib/ansible/module_utils/facts.py +++ b/lib/ansible/module_utils/facts.py @@ -1056,7 +1056,7 @@ class LinuxHardware(Hardware): if line.startswith('/'): fields = line.rstrip('\n').split() if(fields[2] != 'none'): - size_total, size_available = self._get_mount_size_facts(fields[2]) + size_total, size_available = self._get_mount_size_facts(fields[1]) if fields[0] in uuids: uuid = uuids[fields[0]] else: