mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Change the retry logic to write a limit file, able to source limit from files by indicating with @filename
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user