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:
parent
f1d2b9ea9e
commit
d9246aacd0
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue