From 4b3498a29f015ca8d0b69df73b6e1bfe4d32ab69 Mon Sep 17 00:00:00 2001 From: Sammy Hori Date: Tue, 19 Nov 2024 13:17:47 +0000 Subject: [PATCH] Changed human_to_bytes input to a string For it to be a human readable description it can't be an int. --- 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.