Don't include the '.yml' in the path to the retry files.

pull/2613/merge
Michael DeHaan 12 years ago
parent 0d530f3bf0
commit 61f2668b0a

@ -431,6 +431,7 @@ class PlayBook(object):
buf.write("%s\n" % x)
basedir = self.inventory.basedir()
filename = "%s.retry" % os.path.basename(self.filename)
filename = filename.replace(".yml","")
if not os.path.exists('/var/tmp/ansible'):
try:

Loading…
Cancel
Save