d6f1fd13fa
The log streaming callback is not being called in the same way in Ansible 2.5 as it was in 2.3. In particular, in some cases different Task objects are used for different hosts. This, combined with the fact that the callback is only called once for a given task means that in these cases we are unable to supply the zuul_log_id to the Task object for the second host on a task. To correct this, a local copy of the linear strategy plugin is added, with the change that for every host-task, it calls either the normal on_task_start callback, or a new zuul_task_start callback. This ensures that we are able to set up log streaming on every host-task. We plan to move to a different system for establishing log streaming soon so that we don't have to keep carrying this patched plugin. This first commit just adds linear.py directly from the 2.5.4 release of Ansible. Change-Id: I5ae546b76c5c55a914c99e5bde179e55529cc37a Story: 2002528 Task: 22067 |
||
---|---|---|
.. | ||
action | ||
callback | ||
filter | ||
library | ||
lookup | ||
strategy | ||
__init__.py | ||
logconfig.py | ||
paths.py |