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
Martin Krizek d449c7b0bb
Reduce number of implicit meta tasks (#84007) (#84045)
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)
1 year ago
..
_vendor
ansible_test Remove unused validate-modules unit test code 2 years ago
cli remove nonexistent url from role templates (#82933) 2 years ago
config Fix condition for unquoting configuration strings from ini files (#82388) 2 years ago
errors Remove Python 2.x compat from unit tests (#82109) 2 years ago
executor Reduce number of implicit meta tasks (#84007) (#84045) 1 year ago
galaxy Use of constant for 644 permission variable (#82762) 2 years ago
inventory Remove Python 2 compat (via six) from unit tests 2 years ago
inventory_test_data/group_vars
mock Enable file cache for vaulted host_vars_files vars plugin (#81995) 2 years ago
module_utils [stable-2.17] facts: Skip path if the distribution path is directory (#84037) 1 year ago
modules [stable-2.17] debconf: set empty password value (#84034) 1 year ago
parsing [stable-2.17] Unsafe persistence (#82779) 2 years ago
playbook delay keyword changed from int to float (#83901) (#83912) 1 year ago
plugins Reduce number of implicit meta tasks (#84007) (#84045) 1 year ago
regex Remove Python 2.x compat from unit tests (#82109) 2 years ago
template Remove Python 2.x compat from unit tests (#82109) 2 years ago
utils [stable-2.17] Fix Test failure with cowsay installed/present (#83351) 2 years ago
vars Remove Python 2 compat (via six) from unit tests 2 years ago
__init__.py
requirements.txt
test_context.py
test_no_tty.py