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

Needs additional divisor.

This commit is contained in:
Joseph Benden 2014-07-18 07:55:24 -07:00
parent b55791ef43
commit da5e32b316

View file

@ -1397,7 +1397,7 @@ class Darwin(Hardware):
rc, out, err = module.run_command("sysctl hw.usermem")
if rc == 0:
self.facts['memfree_mb'] = long(out.splitlines()[-1].split()[1]) / 1024
self.facts['memfree_mb'] = long(out.splitlines()[-1].split()[1]) / 1024 / 1024
class Network(Facts):
"""