From d0f576d3bde94ecafd1a9aeae740cb45994e3e4a Mon Sep 17 00:00:00 2001 From: Pavel Bar Date: Sun, 15 Feb 2026 22:56:50 +0200 Subject: [PATCH] Fix deprecated imports in plugins/callback/profile_roles.py Replace deprecated module_utils import: - ansible.module_utils.six.moves.reduce -> functools.reduce Fixes #686 Co-authored-by: Cursor AI Signed-off-by: Pavel Bar --- plugins/callback/profile_roles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/callback/profile_roles.py b/plugins/callback/profile_roles.py index 4d58014..d5d1adc 100644 --- a/plugins/callback/profile_roles.py +++ b/plugins/callback/profile_roles.py @@ -33,7 +33,7 @@ import collections import time from ansible.plugins.callback import CallbackBase -from ansible.module_utils.six.moves import reduce +from functools import reduce # define start time t0 = tn = time.time()