diff --git a/lib/ansible/executor/task_queue_manager.py b/lib/ansible/executor/task_queue_manager.py index 2504a179fc0..41e28c3baef 100644 --- a/lib/ansible/executor/task_queue_manager.py +++ b/lib/ansible/executor/task_queue_manager.py @@ -296,7 +296,7 @@ class TaskQueueManager: continue methods = [ getattr(callback_plugin, method_name, None), - getattr(callback_plugin, 'on_any', None) + getattr(callback_plugin, 'v2_on_any', None) ] for method in methods: if method is not None: