1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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) buf.write("%s\n" % x)
basedir = self.inventory.basedir() basedir = self.inventory.basedir()
filename = "%s.retry" % os.path.basename(self.filename) filename = "%s.retry" % os.path.basename(self.filename)
filename = filename.replace(".yml","")
if not os.path.exists('/var/tmp/ansible'): if not os.path.exists('/var/tmp/ansible'):
try: try: