def human_readable(size, isbits=False, unit=None):
 try:
  return basic.bytes_to_human(size, isbits, unit)
 except:
  raise errors.AnsibleFilterError(("human_readable() can't interpret following string: %s" % size))

def human_readable ( size , isbits = False , unit = None ) : try : return basic . bytes_to_human ( size , isbits , unit ) except : raise errors . AnsibleFilterError ( ( "human_readable() can't interpret following string: %s" % size ) )
convert a size in bytes into megabytes .