mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07: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:
parent
c695aa2d6a
commit
0d530f3bf0
3 changed files with 25 additions and 67 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue