You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/plugins
Martin Krizek 371564cdc6
Reduce number of implicit meta tasks (#84007) (#84044)
This greatly reduces run time on large inventories since meta tasks are
executed in the main process sequentially and just executing them is expensive.

This change avoids running the following implicit meta tasks:
  * ``flush_handlers`` on hosts where no handlers are notified
  * ``noop`` for the linear strategy's lockstep, instead hosts that are
    not executing the current task are just not part of the current host loop

A playbook consiting of two simple plays both running on ~6000 hosts
runs in:
devel: 37s
this PR: 1.3s

Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
(cherry picked from commit d6d2251929)
2 months ago
..
action Typo fixes and other bits and bobs (#83672) 4 months ago
become Require `from __future__ import annotations` (#81902) 1 year ago
cache Remove Python 2.x compat from unit tests (#82109) 1 year ago
callback Remove Python 2.x compat from unit tests (#82109) 1 year ago
connection [stable-2.18] Cover unit tests with mypy (#84084) (#84086) 2 months ago
filter [stable-2.18] Cover unit tests with mypy (#84084) (#84086) 2 months ago
inventory Remove Python 2 compat (via six) from unit tests 1 year ago
loader_fixtures Require `from __future__ import annotations` (#81902) 1 year ago
lookup [stable-2.18] Cover unit tests with mypy (#84084) (#84086) 2 months ago
shell powershell - Improve CLIXML parsing (#83847) 3 months ago
strategy Reduce number of implicit meta tasks (#84007) (#84044) 2 months ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
test_plugins.py Remove Python 2.x compat from unit tests (#82109) 1 year ago