mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07:00
Merge pull request #9404 from mmoya/configure-retry-files
Configure retry file usage and location
This commit is contained in:
commit
540d13cf52
3 changed files with 18 additions and 6 deletions
|
@ -298,7 +298,7 @@ def main(args):
|
|||
|
||||
retries = failed_hosts + unreachable_hosts
|
||||
|
||||
if len(retries) > 0:
|
||||
if C.RETRY_FILES_ENABLED and len(retries) > 0:
|
||||
filename = pb.generate_retry_inventory(retries)
|
||||
if filename:
|
||||
display(" to retry, use: --limit @%s\n" % filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue