From 1dceddb156568b67ffb25cfd61bce83447a3e7ca Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 9 Apr 2025 16:43:52 -0400 Subject: [PATCH] Changed human_to_bytes input to a string (#84336) (#84857) For it to be a human readable description it can't be an int. (cherry picked from commit df0fe813835344281e5f3e605712fde581cd7b27) Co-authored-by: Sammy Hori --- 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 8932aaef9d6..23a8b3513b5 100644 --- a/lib/ansible/plugins/filter/human_to_bytes.yml +++ b/lib/ansible/plugins/filter/human_to_bytes.yml @@ -8,7 +8,7 @@ DOCUMENTATION: options: _input: description: human-readable description of a number of bytes. - type: int + type: string required: true default_unit: description: Unit to assume when input does not specify it.