Restoring a state check to play_iterator, which otherwise broke block functionality
This commit is contained in:
parent
4c610bb15d
commit
2576f480fd
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ class PlayIterator:
|
|||
self._host_states[host.name] = s
|
||||
|
||||
def get_failed_hosts(self):
|
||||
return dict((host, True) for (host, state) in self._host_states.iteritems() if state.fail_state != self.FAILED_NONE)
|
||||
return dict((host, True) for (host, state) in self._host_states.iteritems() if state.run_state == self.ITERATING_COMPLETE and state.fail_state != self.FAILED_NONE)
|
||||
|
||||
def get_original_task(self, host, task):
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue