From df7e1befb4e79d5befd3700117cd6be3c4c7721d Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 21 Jan 2025 11:02:03 -0500 Subject: [PATCH] stdout callback first comment (#84533) so we know its a rule, not just implementation accident --- lib/ansible/executor/task_queue_manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/executor/task_queue_manager.py b/lib/ansible/executor/task_queue_manager.py index ef699547076..d28f963aea5 100644 --- a/lib/ansible/executor/task_queue_manager.py +++ b/lib/ansible/executor/task_queue_manager.py @@ -414,6 +414,7 @@ class TaskQueueManager: @lock_decorator(attr='_callback_lock') def send_callback(self, method_name, *args, **kwargs): + # We always send events to stdout callback first, rest should follow config order for callback_plugin in [self._stdout_callback] + self._callback_plugins: # a plugin that set self.disabled to True will not be called # see osx_say.py example for such a plugin