From 3b5a9779b4acb2ce0498f2b84150027a6fd6fa31 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 29 Jun 2025 09:50:46 +0200 Subject: [PATCH] Add comment that transform_recursively should no longer be needed. --- plugins/callback/yaml.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/callback/yaml.py b/plugins/callback/yaml.py index d11dfd0c0a..f02840c9c6 100644 --- a/plugins/callback/yaml.py +++ b/plugins/callback/yaml.py @@ -119,6 +119,9 @@ except ImportError: def transform_recursively(value, transform): + # Since 2.19.0b7, this should no longer be needed: + # https://github.com/ansible/ansible/issues/85325 + # https://github.com/ansible/ansible/pull/85389 if isinstance(value, Mapping): return {transform(k): transform(v) for k, v in value.items()} if isinstance(value, Sequence) and not isinstance(value, (str, bytes)):