Change the retry logic to write a limit file, able to source limit from files by indicating with @filename

This commit is contained in:
Michael DeHaan 2013-04-08 12:36:01 -04:00
commit 0d530f3bf0
3 changed files with 25 additions and 67 deletions

View file

@ -192,7 +192,7 @@ def main(args):
if len(failed_hosts) > 0:
filename = pb.generate_retry_inventory(failed_hosts)
if filename:
print " to rerun against failed hosts only, use -i %s\n" % filename
print " to retry, use: --limit @%s\n" % filename
for h in hosts:
t = pb.stats.summarize(h)