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/handlers
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
..
collections/ansible_collections/ns/col/roles/test_handlers_listen/handlers Allow "role_name : " prefix for notifying handler listen topics (#82854) 2 years ago
roles Allow "role_name : " prefix for notifying handler listen topics (#82854) 2 years ago
46447.yml Move handler processing into new PlayIterator state (#77955) 3 years ago
52561.yml Move handler processing into new PlayIterator state (#77955) 3 years ago
54991.yml Move handler processing into new PlayIterator state (#77955) 3 years ago
58841.yml ignore/warn for undefined vars in unused handler names (#75244) 4 years ago
79776-handlers.yml Fix conditionally notified include handlers (#79804) 3 years ago
79776.yml Fix conditionally notified include handlers (#79804) 3 years ago
80880.yml Register handlers immediately if currently iterating handlers (#80898) 3 years ago
82241.yml Allow include_tasks handlers for searching role subdirs (#82248) 2 years ago
aliases Re-organize CI test groups for POSIX tests. (#77420) 3 years ago
force_handlers_blocks_81533-1.yml any_errors_fatal fixes (#78680) 2 years ago
force_handlers_blocks_81533-2.yml any_errors_fatal fixes (#78680) 2 years ago
from_handlers.yml Fix integration test inventory. 7 years ago
handler_notify_earlier_handler.yml Reduce number of implicit meta tasks (#84007) (#84045) 1 year ago
handlers.yml
handlers_lockstep_82307.yml handlers: fix executing in lockstep using linear (#83030) (#83072) 2 years ago
handlers_lockstep_83019-include-nested.yml linear: fix included handlers executing in lockstep (#83209) (#83528) 1 year ago
handlers_lockstep_83019-include.yml linear: fix included handlers executing in lockstep (#83209) (#83528) 1 year ago
handlers_lockstep_83019.yml linear: fix included handlers executing in lockstep (#83209) (#83528) 1 year ago
include_handlers_fail_force-handlers.yml Move handler processing into new PlayIterator state (#77955) 3 years ago
include_handlers_fail_force.yml Move handler processing into new PlayIterator state (#77955) 3 years ago
inventory.handlers Fix integration test inventory. 7 years ago
nested_flush_handlers_failure_force.yml flush_handlers: handle a failure in a nested block with force_handlers (#81572) 2 years ago
order.yml Move handler processing into new PlayIterator state (#77955) 3 years ago
runme.sh Reduce number of implicit meta tasks (#84007) (#84045) 1 year ago
test_block_as_handler-import.yml Make using blocks as handlers a parser error (#79993) 3 years ago
test_block_as_handler-include.yml Make using blocks as handlers a parser error (#79993) 3 years ago
test_block_as_handler-include_import-handlers.yml Make using blocks as handlers a parser error (#79993) 3 years ago
test_block_as_handler.yml Make using blocks as handlers a parser error (#79993) 3 years ago
test_flush_handlers_as_handler.yml Move handler processing into new PlayIterator state (#77955) 3 years ago
test_flush_handlers_rescue_always.yml Move handler processing into new PlayIterator state (#77955) 3 years ago
test_flush_in_rescue_always.yml Move handler processing into new PlayIterator state (#77955) 3 years ago
test_force_handlers.yml Fix integration test inventory. 7 years ago
test_fqcn_meta_flush_handlers.yml Fix using FQCN for flush_handlers (#79057) 3 years ago
test_handlers.yml Fix integration test inventory. 7 years ago
test_handlers_any_errors_fatal.yml Fix integration test inventory. 7 years ago
test_handlers_include.yml Remove include from tests (#74330) 5 years ago
test_handlers_include_role.yml
test_handlers_including_task.yml Fix exception when including tasks from handlers (#47307) 7 years ago
test_handlers_inexistent_notify.yml Fix integration test inventory. 7 years ago
test_handlers_infinite_loop.yml Move handler processing into new PlayIterator state (#77955) 3 years ago
test_handlers_listen.yml Allow "role_name : " prefix for notifying handler listen topics (#82854) 2 years ago
test_handlers_meta.yml Move handler processing into new PlayIterator state (#77955) 3 years ago
test_handlers_template_run_once.yml Template run_once for handlers (#54030) 7 years ago
test_include_role_handler_once.yml Last handler defined runs, fix for roles (#79558) 3 years ago
test_include_tasks_in_include_role.yml Allow for searching handler subdir for included task via include_role (#81733) 2 years ago
test_listen_role_dedup.yml Last handler with same name wins for listen too (#81358) 2 years ago
test_listening_handlers.yml Incidental docker chip away (#77830) 4 years ago
test_multiple_handlers_with_recursive_notification.yml Run all handlers with the same `listen` topic when notified from another handler (#82364) 2 years ago
test_notify_included-handlers.yml Do not allow handlers from dynamic includes to be notified (#78399) 3 years ago
test_notify_included.yml Do not allow handlers from dynamic includes to be notified (#78399) 3 years ago
test_role_as_handler.yml Raise a proper error when include/import_role is used as a handler (#77807) 4 years ago
test_role_handlers_including_tasks.yml Allow for searching handler subdir for included tasks (#73809) 5 years ago
test_run_once.yml run_once: unnotify hosts on handlers that are not run (#81667) 2 years ago
test_skip_flush.yml Move handler processing into new PlayIterator state (#77955) 3 years ago
test_templating_in_handlers.yml Integration tests for notify with variable list (#66423) 6 years ago