summaryrefslogtreecommitdiffstats
path: root/bin/ansible-playbook
diff options
context:
space:
mode:
authorBrian Coca <bcoca@ansible.com>2015-01-30 21:14:27 +0100
committerBrian Coca <bcoca@ansible.com>2015-01-30 21:14:27 +0100
commit540d13cf525553d38e7a073300ed695e09706301 (patch)
treed025146218dd5ade91c25b8af07d0ecca41309a1 /bin/ansible-playbook
parentMerge pull request #10133 from netroby/feature/update-repo-sh (diff)
parentConfigure retry file usage and location (diff)
downloadansible-540d13cf525553d38e7a073300ed695e09706301.tar.xz
ansible-540d13cf525553d38e7a073300ed695e09706301.zip
Merge pull request #9404 from mmoya/configure-retry-files
Configure retry file usage and location
Diffstat (limited to 'bin/ansible-playbook')
-rwxr-xr-xbin/ansible-playbook2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ansible-playbook b/bin/ansible-playbook
index 6390bcba83..af69ed9386 100755
--- a/bin/ansible-playbook
+++ b/bin/ansible-playbook
@@ -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)