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/integration/targets/ansible-playbook-callbacks
Martin Krizek d6d2251929
Reduce number of implicit meta tasks (#84007)
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>
2 months ago
..
aliases Fix calling v2_playbook_on_notify callback (#80585) 2 years ago
all-callbacks.yml Fix issues with ansible-playbook-callbacks test (#82407) 10 months ago
callback_list_include_role_fail.expected Play recap stats and callbacks for include_role, consolidate with include_tasks (#79260) 10 months ago
callbacks_list.expected Reduce number of implicit meta tasks (#84007) 2 months ago
include_me.yml Fix issues with ansible-playbook-callbacks test (#82407) 10 months ago
include_role-fail.yml Play recap stats and callbacks for include_role, consolidate with include_tasks (#79260) 10 months ago
runme.sh Play recap stats and callbacks for include_role, consolidate with include_tasks (#79260) 10 months ago