diff --git a/lib/ansible/plugins/strategy/debug.py b/lib/ansible/plugins/strategy/debug.py index 3d7e26ca99..931474088a 100644 --- a/lib/ansible/plugins/strategy/debug.py +++ b/lib/ansible/plugins/strategy/debug.py @@ -38,9 +38,9 @@ class StrategyModule(LinearStrategyModule): super(StrategyModule, self)._queue_task(host, task, task_vars, play_context) - def _process_pending_results(self, iterator, one_pass=False): + def _process_pending_results(self, iterator, one_pass=False, max_passes=None): if not hasattr(self, "curr_host"): - return super(StrategyModule, self)._process_pending_results(iterator, one_pass) + return super(StrategyModule, self)._process_pending_results(iterator, one_pass, max_passes) prev_host_state = iterator.get_host_state(self.curr_host) results = super(StrategyModule, self)._process_pending_results(iterator, one_pass)