Don't fail outright when a play has an empty hosts list

This commit is contained in:
James Cammarata 2015-06-16 13:55:05 -04:00
commit 4b28a51f25
2 changed files with 1 additions and 3 deletions

View file

@ -122,9 +122,8 @@ class StrategyModule(StrategyBase):
moving on to the next task
'''
result = True
# iteratate over each task, while there is one left to run
result = True
work_to_do = True
while work_to_do and not self._tqm._terminated: