From 3e9d374fda1c91af6cefc88cf7d12916dc98f00b Mon Sep 17 00:00:00 2001 From: "Dmitry K. Anisimov" Date: Tue, 22 Aug 2023 18:25:51 +0300 Subject: [PATCH] fix typo in example human_to_bytes filter (#81559) --- lib/ansible/plugins/filter/human_to_bytes.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/filter/human_to_bytes.yml b/lib/ansible/plugins/filter/human_to_bytes.yml index 8950670ce49..c8613507a75 100644 --- a/lib/ansible/plugins/filter/human_to_bytes.yml +++ b/lib/ansible/plugins/filter/human_to_bytes.yml @@ -23,7 +23,7 @@ EXAMPLES: | size: '{{ "1.15 GB" | human_to_bytes }}' # size => 1234803098 - size: '{{ "1.15" | human_to_bytes(deafult_unit="G") }}' + size: '{{ "1.15" | human_to_bytes(default_unit="G") }}' # this is an error, wants bits, got bytes ERROR: '{{ "1.15 GB" | human_to_bytes(isbits=true) }}'