# Buggy code
def run(self, iterator, play_context):
    """
    The linear strategy is simple - get the next task and queue
    it for all hosts, then wait for the queue to drain before
    moving on to the next task
    """

    # iterate over each task, while there is one left to run
    result = self._tqm.RUN_OK
    work_to_do = True

    self._set_hosts_cache(iterator._play)

    while work_to_do and not self._tqm._terminated:
        try:
            display.debug("getting the remaining hosts for this loop")
            hosts_left = self.get_hosts_left(iterator)
            display.debug("done getting the remaining hosts for this loop")

            # queue up this task for each host in the inventory
            callback_sent = False
            work_to_do = False

            host_results = []
            host_tasks = self._get_next_task_lockstep(hosts_left, iterator)

            # skip control
            skip_rest = False
            choose_step = True

            # flag set if task is set to any_errors_fatal
            any_errors_fatal = False

            results = []
            for host, task in host_tasks:
                if not task:
                    continue

                if self._tqm._terminated:
                    break

                run_once = False
                work_to_do = True

                # check to see if this task should be skipped, due to it being a member of a
                # role which has already run (and whether that role allows duplicate execution)
                if task._role and task._role.has_run(host):
                    # If there is no metadata, the default behavior is to not allow duplicates,
                    # if there is metadata, check to see if the allow_duplicates flag was set to true
                    if (
                        task._role._metadata is None
                        or task._role._metadata
                        and not task._role._metadata.allow_duplicates
                    ):
                        display.debug(
                            "'%s' skipped because role has already run" % task
                        )
                        continue

                display.debug("getting variables")
                task_vars = self._variable_manager.get_vars(
                    play=iterator._play,
                    host=host,
                    task=task,
                    _hosts=self._hosts_cache,
                    _hosts_all=self._hosts_cache_all,
                )
                self.add_tqm_variables(task_vars, play=iterator._play)
                templar = Templar(loader=self._loader, variables=task_vars)
                display.debug("done getting variables")

                # test to see if the task across all hosts points to an action plugin which
                # sets BYPASS_HOST_LOOP to true, or if it has run_once enabled. If so, we
                # will only send this task to the first host in the list.

                task.action = templar.template(task.action)

                try:
                    action = action_loader.get(
                        task.action, class_only=True, collection_list=task.collections
                    )
                except KeyError:
                    # we don't care here, because the action may simply not have a
                    # corresponding action plugin
                    action = None

                if task.action == "meta":
                    # for the linear strategy, we run meta tasks just once and for
                    # all hosts currently being iterated over rather than one host
                    results.extend(
                        self._execute_meta(task, play_context, iterator, host)
                    )
                    if task.args.get("_raw_params", None) not in (
                        "noop",
                        "reset_connection",
                        "end_host",
                    ):
                        run_once = True
                    if (task.any_errors_fatal or run_once) and not task.ignore_errors:
                        any_errors_fatal = True
                else:
                    # handle step if needed, skip meta actions as they are used internally
                    if self._step and choose_step:
                        if self._take_step(task):
                            choose_step = False
                        else:
                            skip_rest = True
                            break

                    run_once = (
                        templar.template(task.run_once)
                        or action
                        and getattr(action, "BYPASS_HOST_LOOP", False)
                    )

                    if (task.any_errors_fatal or run_once) and not task.ignore_errors:
                        any_errors_fatal = True

                    if not callback_sent:
                        display.debug(
                            "sending task start callback, copying the task so we can template it temporarily"
                        )
                        saved_name = task.name
                        display.debug("done copying, going to template now")
                        try:
                            task.name = to_text(
                                templar.template(task.name, fail_on_undefined=False),
                                nonstring="empty",
                            )
                            display.debug("done templating")
                        except Exception:
                            # just ignore any errors during task name templating,
                            # we don't care if it just shows the raw name
                            display.debug("templating failed for some reason")
                        display.debug("here goes the callback...")
                        self._tqm.send_callback(
                            "v2_playbook_on_task_start", task, is_conditional=False
                        )
                        task.name = saved_name
                        callback_sent = True
                        display.debug("sending task start callback")

                    self._blocked_hosts[host.get_name()] = True
                    self._queue_task(host, task, task_vars, play_context)
                    del task_vars

                # if we're bypassing the host loop, break out now
                if run_once:
                    break

                results += self._process_pending_results(
                    iterator, max_passes=max(1, int(len(self._tqm._workers) * 0.1))
                )

            # go to next host/task group
            if skip_rest:
                continue

            display.debug(
                "done queuing things up, now waiting for results queue to drain"
            )
            if self._pending_results > 0:
                results += self._wait_on_pending_results(iterator)

            host_results.extend(results)

            self.update_active_connections(results)

            included_files = IncludedFile.process_include_results(
                host_results,
                iterator=iterator,
                loader=self._loader,
                variable_manager=self._variable_manager,
            )

            include_failure = False
            if len(included_files) > 0:
                display.debug("we have included files to process")

                display.debug("generating all_blocks data")
                all_blocks = dict((host, []) for host in hosts_left)
                display.debug("done generating all_blocks data")
                for included_file in included_files:
                    display.debug(
                        "processing included file: %s" % included_file._filename
                    )
                    # included hosts get the task list while those excluded get an equal-length
                    # list of noop tasks, to make sure that they continue running in lock-step
                    try:
                        if included_file._is_role:
                            new_ir = self._copy_included_file(included_file)

                            new_blocks, handler_blocks = new_ir.get_block_list(
                                play=iterator._play,
                                variable_manager=self._variable_manager,
                                loader=self._loader,
                            )
                        else:
                            new_blocks = self._load_included_file(
                                included_file, iterator=iterator
                            )

                        display.debug(
                            "iterating over new_blocks loaded from include file"
                        )
                        for new_block in new_blocks:
                            task_vars = self._variable_manager.get_vars(
                                play=iterator._play,
                                task=new_block._parent,
                                _hosts=self._hosts_cache,
                                _hosts_all=self._hosts_cache_all,
                            )
                            display.debug("filtering new block on tags")
                            final_block = new_block.filter_tagged_tasks(task_vars)
                            display.debug("done filtering new block on tags")

                            noop_block = self._prepare_and_create_noop_block_from(
                                final_block, task._parent, iterator
                            )

                            for host in hosts_left:
                                if host in included_file._hosts:
                                    all_blocks[host].append(final_block)
                                else:
                                    all_blocks[host].append(noop_block)
                        display.debug(
                            "done iterating over new_blocks loaded from include file"
                        )

                    except AnsibleError as e:
                        for host in included_file._hosts:
                            self._tqm._failed_hosts[host.name] = True
                            iterator.mark_host_failed(host)
                        display.error(to_text(e), wrap_text=False)
                        include_failure = True
                        continue

                # finally go through all of the hosts and append the
                # accumulated blocks to their list of tasks
                display.debug("extending task lists for all hosts with included blocks")

                for host in hosts_left:
                    iterator.add_tasks(host, all_blocks[host])

                display.debug("done extending task lists")
                display.debug("done processing included files")

            display.debug("results queue empty")

            display.debug("checking for any_errors_fatal")
            failed_hosts = []
            unreachable_hosts = []
            for res in results:
                # execute_meta() does not set 'failed' in the TaskResult
                # so we skip checking it with the meta tasks and look just at the iterator
                if (
                    res.is_failed() or res._task.action == "meta"
                ) and iterator.is_failed(res._host):
                    failed_hosts.append(res._host.name)
                elif res.is_unreachable():
                    unreachable_hosts.append(res._host.name)

            # if any_errors_fatal and we had an error, mark all hosts as failed
            if any_errors_fatal and (
                len(failed_hosts) > 0 or len(unreachable_hosts) > 0
            ):
                dont_fail_states = frozenset(
                    [iterator.ITERATING_RESCUE, iterator.ITERATING_ALWAYS]
                )
                for host in hosts_left:
                    (s, _) = iterator.get_next_task_for_host(host, peek=True)
                    # the state may actually be in a child state, use the get_active_state()
                    # method in the iterator to figure out the true active state
                    s = iterator.get_active_state(s)
                    if (
                        s.run_state not in dont_fail_states
                        or s.run_state == iterator.ITERATING_RESCUE
                        and s.fail_state & iterator.FAILED_RESCUE != 0
                    ):
                        self._tqm._failed_hosts[host.name] = True
                        result |= self._tqm.RUN_FAILED_BREAK_PLAY
            display.debug("done checking for any_errors_fatal")

            display.debug("checking for max_fail_percentage")
            if iterator._play.max_fail_percentage is not None and len(results) > 0:
                percentage = iterator._play.max_fail_percentage / 100.0

                if (len(self._tqm._failed_hosts) / iterator.batch_size) > percentage:
                    for host in hosts_left:
                        # don't double-mark hosts, or the iterator will potentially
                        # fail them out of the rescue/always states
                        if host.name not in failed_hosts:
                            self._tqm._failed_hosts[host.name] = True
                            iterator.mark_host_failed(host)
                    self._tqm.send_callback("v2_playbook_on_no_hosts_remaining")
                    result |= self._tqm.RUN_FAILED_BREAK_PLAY
                display.debug(
                    "(%s failed / %s total )> %s max fail"
                    % (len(self._tqm._failed_hosts), iterator.batch_size, percentage)
                )
            display.debug("done checking for max_fail_percentage")

            display.debug(
                "checking to see if all hosts have failed and the running result is not ok"
            )
            if result != self._tqm.RUN_OK and len(self._tqm._failed_hosts) >= len(
                hosts_left
            ):
                display.debug("^ not ok, so returning result now")
                self._tqm.send_callback("v2_playbook_on_no_hosts_remaining")
                return result
            display.debug("done checking to see if all hosts have failed")

        except (IOError, EOFError) as e:
            display.debug("got IOError/EOFError in task loop: %s" % e)
            # most likely an abort, return failed
            return self._tqm.RUN_UNKNOWN_ERROR

    # run the base class run() method, which executes the cleanup function
    # and runs any outstanding handlers which have been triggered

    return super(StrategyModule, self).run(iterator, play_context, result)


# Traceback (AttributeError)
ansible-playbook 2.9.2
config file = ./ansible.cfg
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/virtualenv/py3/ansible_stable/lib/python3.7/site-packages/ansible
executable location = /usr/local/virtualenv/py3/ansible_stable/bin/ansible-playbook
python version = 3.7.3 (default, Apr  3 2019, 05:39:12) [GCC 8.3.0]
Using ./ansible.cfg as config file
host_list declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
script declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
auto declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Parsed /etc/ansible/hosts inventory source with ini plugin
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match
'all'

PLAYBOOK: example.yml *************************************************************************************************
1 plays in example.yml

PLAY [localhost] ******************************************************************************************************
META: ran handlers

TASK [ssh_client : No exception] **************************************************************************************
task path: ./roles/ssh_client/tasks/main.yml:2
included: ./roles/ssh_client/tasks/clean_known_hosts.yml for localhost

TASK [ssh_client : Read /etc/ssh/ssh_known_hosts] *********************************************************************
task path: ./roles/ssh_client/tasks/clean_known_hosts.yml:2
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root &amp;&amp; sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 &amp;&amp; mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1576004604.8780084-124655683624288 `" &amp;&amp; echo ansible-tmp-1576004604.8780084-124655683624288="` echo /root/.ansible/tmp/ansible-tmp-1576004604.8780084-124655683624288 `" ) &amp;&amp; sleep 0'
Using module file /usr/local/virtualenv/py3/ansible_stable/lib/python3.7/site-packages/ansible/modules/net_tools/basics/slurp.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-24449ljfccz75/tmpdopvwfyq TO /root/.ansible/tmp/ansible-tmp-1576004604.8780084-124655683624288/AnsiballZ_slurp.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1576004604.8780084-124655683624288/ /root/.ansible/tmp/ansible-tmp-1576004604.8780084-124655683624288/AnsiballZ_slurp.py &amp;&amp; sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/local/virtualenv/py3/ansible_stable/bin/python3 /root/.ansible/tmp/ansible-tmp-1576004604.8780084-124655683624288/AnsiballZ_slurp.py &amp;&amp; sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1576004604.8780084-124655683624288/ > /dev/null 2>&amp;1 &amp;&amp; sleep 0'
fatal: [localhost]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"src": "/etc/ssh/ssh_known_hosts"
}
},
"msg": "file not found: /etc/ssh/ssh_known_hosts"
}
...ignoring

TASK [ssh_client : debug] *********************************************************************************************
task path: ./roles/ssh_client/tasks/clean_known_hosts.yml:10
skipping: [localhost] => {}

TASK [ssh_client : Unexpected Exception] ******************************************************************************
task path: ./roles/ssh_client/tasks/main.yml:8
included: ./roles/ssh_client/tasks/clean_known_hosts.yml for localhost
ERROR! Unexpected Exception, this is probably a bug: 'Block' object has no attribute 'get_search_path'
the full traceback was:

Traceback (most recent call last):
File "/usr/local/virtualenv/py3/ansible_stable/bin/ansible-playbook", line 123, in <module>
exit_code = cli.run()
File "/usr/local/virtualenv/py3/ansible_stable/lib/python3.7/site-packages/ansible/cli/playbook.py", line 127, in run
results = pbex.run()
File "/usr/local/virtualenv/py3/ansible_stable/lib/python3.7/site-packages/ansible/executor/playbook_executor.py", line 169, in run
result = self._tqm.run(play=play)
File "/usr/local/virtualenv/py3/ansible_stable/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 240, in run
play_return = strategy.run(iterator, play_context)
File "/usr/local/virtualenv/py3/ansible_stable/lib/python3.7/site-packages/ansible/plugins/strategy/linear.py", line 367, in run
_hosts_all=self._hosts_cache_all,
File "/usr/local/virtualenv/py3/ansible_stable/lib/python3.7/site-packages/ansible/vars/manager.py", line 195, in get_vars
basedirs = task.get_search_path()
AttributeError: 'Block' object has no attribute 'get_search_path'

# Fixed code
def run(self, iterator, play_context):
    """
    The linear strategy is simple - get the next task and queue
    it for all hosts, then wait for the queue to drain before
    moving on to the next task
    """

    # iterate over each task, while there is one left to run
    result = self._tqm.RUN_OK
    work_to_do = True

    self._set_hosts_cache(iterator._play)

    while work_to_do and not self._tqm._terminated:
        try:
            display.debug("getting the remaining hosts for this loop")
            hosts_left = self.get_hosts_left(iterator)
            display.debug("done getting the remaining hosts for this loop")

            # queue up this task for each host in the inventory
            callback_sent = False
            work_to_do = False

            host_results = []
            host_tasks = self._get_next_task_lockstep(hosts_left, iterator)

            # skip control
            skip_rest = False
            choose_step = True

            # flag set if task is set to any_errors_fatal
            any_errors_fatal = False

            results = []
            for host, task in host_tasks:
                if not task:
                    continue

                if self._tqm._terminated:
                    break

                run_once = False
                work_to_do = True

                # check to see if this task should be skipped, due to it being a member of a
                # role which has already run (and whether that role allows duplicate execution)
                if task._role and task._role.has_run(host):
                    # If there is no metadata, the default behavior is to not allow duplicates,
                    # if there is metadata, check to see if the allow_duplicates flag was set to true
                    if (
                        task._role._metadata is None
                        or task._role._metadata
                        and not task._role._metadata.allow_duplicates
                    ):
                        display.debug(
                            "'%s' skipped because role has already run" % task
                        )
                        continue

                display.debug("getting variables")
                task_vars = self._variable_manager.get_vars(
                    play=iterator._play,
                    host=host,
                    task=task,
                    _hosts=self._hosts_cache,
                    _hosts_all=self._hosts_cache_all,
                )
                self.add_tqm_variables(task_vars, play=iterator._play)
                templar = Templar(loader=self._loader, variables=task_vars)
                display.debug("done getting variables")

                # test to see if the task across all hosts points to an action plugin which
                # sets BYPASS_HOST_LOOP to true, or if it has run_once enabled. If so, we
                # will only send this task to the first host in the list.

                task.action = templar.template(task.action)

                try:
                    action = action_loader.get(
                        task.action, class_only=True, collection_list=task.collections
                    )
                except KeyError:
                    # we don't care here, because the action may simply not have a
                    # corresponding action plugin
                    action = None

                if task.action == "meta":
                    # for the linear strategy, we run meta tasks just once and for
                    # all hosts currently being iterated over rather than one host
                    results.extend(
                        self._execute_meta(task, play_context, iterator, host)
                    )
                    if task.args.get("_raw_params", None) not in (
                        "noop",
                        "reset_connection",
                        "end_host",
                    ):
                        run_once = True
                    if (task.any_errors_fatal or run_once) and not task.ignore_errors:
                        any_errors_fatal = True
                else:
                    # handle step if needed, skip meta actions as they are used internally
                    if self._step and choose_step:
                        if self._take_step(task):
                            choose_step = False
                        else:
                            skip_rest = True
                            break

                    run_once = (
                        templar.template(task.run_once)
                        or action
                        and getattr(action, "BYPASS_HOST_LOOP", False)
                    )

                    if (task.any_errors_fatal or run_once) and not task.ignore_errors:
                        any_errors_fatal = True

                    if not callback_sent:
                        display.debug(
                            "sending task start callback, copying the task so we can template it temporarily"
                        )
                        saved_name = task.name
                        display.debug("done copying, going to template now")
                        try:
                            task.name = to_text(
                                templar.template(task.name, fail_on_undefined=False),
                                nonstring="empty",
                            )
                            display.debug("done templating")
                        except Exception:
                            # just ignore any errors during task name templating,
                            # we don't care if it just shows the raw name
                            display.debug("templating failed for some reason")
                        display.debug("here goes the callback...")
                        self._tqm.send_callback(
                            "v2_playbook_on_task_start", task, is_conditional=False
                        )
                        task.name = saved_name
                        callback_sent = True
                        display.debug("sending task start callback")

                    self._blocked_hosts[host.get_name()] = True
                    self._queue_task(host, task, task_vars, play_context)
                    del task_vars

                # if we're bypassing the host loop, break out now
                if run_once:
                    break

                results += self._process_pending_results(
                    iterator, max_passes=max(1, int(len(self._tqm._workers) * 0.1))
                )

            # go to next host/task group
            if skip_rest:
                continue

            display.debug(
                "done queuing things up, now waiting for results queue to drain"
            )
            if self._pending_results > 0:
                results += self._wait_on_pending_results(iterator)

            host_results.extend(results)

            self.update_active_connections(results)

            included_files = IncludedFile.process_include_results(
                host_results,
                iterator=iterator,
                loader=self._loader,
                variable_manager=self._variable_manager,
            )

            include_failure = False
            if len(included_files) > 0:
                display.debug("we have included files to process")

                display.debug("generating all_blocks data")
                all_blocks = dict((host, []) for host in hosts_left)
                display.debug("done generating all_blocks data")
                for included_file in included_files:
                    display.debug(
                        "processing included file: %s" % included_file._filename
                    )
                    # included hosts get the task list while those excluded get an equal-length
                    # list of noop tasks, to make sure that they continue running in lock-step
                    try:
                        if included_file._is_role:
                            new_ir = self._copy_included_file(included_file)

                            new_blocks, handler_blocks = new_ir.get_block_list(
                                play=iterator._play,
                                variable_manager=self._variable_manager,
                                loader=self._loader,
                            )
                        else:
                            new_blocks = self._load_included_file(
                                included_file, iterator=iterator
                            )

                        display.debug(
                            "iterating over new_blocks loaded from include file"
                        )
                        for new_block in new_blocks:
                            task_vars = self._variable_manager.get_vars(
                                play=iterator._play,
                                task=new_block.get_first_parent_include(),
                                _hosts=self._hosts_cache,
                                _hosts_all=self._hosts_cache_all,
                            )
                            display.debug("filtering new block on tags")
                            final_block = new_block.filter_tagged_tasks(task_vars)
                            display.debug("done filtering new block on tags")

                            noop_block = self._prepare_and_create_noop_block_from(
                                final_block, task._parent, iterator
                            )

                            for host in hosts_left:
                                if host in included_file._hosts:
                                    all_blocks[host].append(final_block)
                                else:
                                    all_blocks[host].append(noop_block)
                        display.debug(
                            "done iterating over new_blocks loaded from include file"
                        )

                    except AnsibleError as e:
                        for host in included_file._hosts:
                            self._tqm._failed_hosts[host.name] = True
                            iterator.mark_host_failed(host)
                        display.error(to_text(e), wrap_text=False)
                        include_failure = True
                        continue

                # finally go through all of the hosts and append the
                # accumulated blocks to their list of tasks
                display.debug("extending task lists for all hosts with included blocks")

                for host in hosts_left:
                    iterator.add_tasks(host, all_blocks[host])

                display.debug("done extending task lists")
                display.debug("done processing included files")

            display.debug("results queue empty")

            display.debug("checking for any_errors_fatal")
            failed_hosts = []
            unreachable_hosts = []
            for res in results:
                # execute_meta() does not set 'failed' in the TaskResult
                # so we skip checking it with the meta tasks and look just at the iterator
                if (
                    res.is_failed() or res._task.action == "meta"
                ) and iterator.is_failed(res._host):
                    failed_hosts.append(res._host.name)
                elif res.is_unreachable():
                    unreachable_hosts.append(res._host.name)

            # if any_errors_fatal and we had an error, mark all hosts as failed
            if any_errors_fatal and (
                len(failed_hosts) > 0 or len(unreachable_hosts) > 0
            ):
                dont_fail_states = frozenset(
                    [iterator.ITERATING_RESCUE, iterator.ITERATING_ALWAYS]
                )
                for host in hosts_left:
                    (s, _) = iterator.get_next_task_for_host(host, peek=True)
                    # the state may actually be in a child state, use the get_active_state()
                    # method in the iterator to figure out the true active state
                    s = iterator.get_active_state(s)
                    if (
                        s.run_state not in dont_fail_states
                        or s.run_state == iterator.ITERATING_RESCUE
                        and s.fail_state & iterator.FAILED_RESCUE != 0
                    ):
                        self._tqm._failed_hosts[host.name] = True
                        result |= self._tqm.RUN_FAILED_BREAK_PLAY
            display.debug("done checking for any_errors_fatal")

            display.debug("checking for max_fail_percentage")
            if iterator._play.max_fail_percentage is not None and len(results) > 0:
                percentage = iterator._play.max_fail_percentage / 100.0

                if (len(self._tqm._failed_hosts) / iterator.batch_size) > percentage:
                    for host in hosts_left:
                        # don't double-mark hosts, or the iterator will potentially
                        # fail them out of the rescue/always states
                        if host.name not in failed_hosts:
                            self._tqm._failed_hosts[host.name] = True
                            iterator.mark_host_failed(host)
                    self._tqm.send_callback("v2_playbook_on_no_hosts_remaining")
                    result |= self._tqm.RUN_FAILED_BREAK_PLAY
                display.debug(
                    "(%s failed / %s total )> %s max fail"
                    % (len(self._tqm._failed_hosts), iterator.batch_size, percentage)
                )
            display.debug("done checking for max_fail_percentage")

            display.debug(
                "checking to see if all hosts have failed and the running result is not ok"
            )
            if result != self._tqm.RUN_OK and len(self._tqm._failed_hosts) >= len(
                hosts_left
            ):
                display.debug("^ not ok, so returning result now")
                self._tqm.send_callback("v2_playbook_on_no_hosts_remaining")
                return result
            display.debug("done checking to see if all hosts have failed")

        except (IOError, EOFError) as e:
            display.debug("got IOError/EOFError in task loop: %s" % e)
            # most likely an abort, return failed
            return self._tqm.RUN_UNKNOWN_ERROR

    # run the base class run() method, which executes the cleanup function
    # and runs any outstanding handlers which have been triggered

    return super(StrategyModule, self).run(iterator, play_context, result)