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

This commit is contained in:
Michael DeHaan 2013-04-08 12:38:05 -04:00
parent 0d530f3bf0
commit 61f2668b0a

View file

@ -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: