summaryrefslogtreecommitdiff
path: root/bin/ansible-playbook
diff options
context:
space:
mode:
authorBrian Coca <bcoca@ansible.com>2015-01-30 15:14:27 -0500
committerBrian Coca <bcoca@ansible.com>2015-01-30 15:14:27 -0500
commit540d13cf525553d38e7a073300ed695e09706301 (patch)
treed025146218dd5ade91c25b8af07d0ecca41309a1 /bin/ansible-playbook
parent363a47b48bad4c0db79dbce94076760184a57ce1 (diff)
parentc15b47fb7bbcca965089afc15c2dacf2f8120758 (diff)
downloadansible-540d13cf525553d38e7a073300ed695e09706301.tar.gz
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)