Add max_passes to the debug strategy override of _process_pending_results

Fixes #17520
pull/17698/head
James Cammarata 8 years ago
parent a2547db5b5
commit 6666d13654

@ -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)

Loading…
Cancel
Save