1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fixed mount sizes for linux

This commit is contained in:
Brian Coca 2016-02-20 14:46:18 -05:00
parent f1d2b9ea9e
commit d9246aacd0

View file

@ -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: