ansible / ansible.builtin / v2.16.5 / filter / human_readable Make bytes/bits human readable | "added in version" historical of ansible.builtin" Authors: unknownansible.builtin.human_readable (v2.16.5) — filter
pip
Install with pip install ansible-core==2.16.5
Convert byte or bit figures to more human readable formats.
unit: choices: - Y - Z - E - P - T - G - M - K - B description: Unit to force output into. If none specified the largest unit arrived at will be used. type: str _input: description: Number of bytes, or bits. Depends on O(isbits). required: true type: int isbits: default: false description: Whether the input is bits, instead of bytes. type: bool
_value: description: Human readable byte or bit size. type: str