Implement max_fail_percentage and any_errors_fatal support

Fixes #11997
This commit is contained in:
James Cammarata 2015-08-26 12:03:13 -04:00
parent af41ba929c
commit 50448d68e1
3 changed files with 36 additions and 3 deletions

View file

@ -210,6 +210,10 @@ class TaskQueueManager:
main_q.close()
worker_prc.terminate()
def clear_failed_hosts(self):
self._failed_hosts = dict()
self._unreachable_hosts = dict()
def get_inventory(self):
return self._inventory