From 61f2668b0a48bb29ac3f42f016dfb4f41fb235d6 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 8 Apr 2013 12:38:05 -0400 Subject: [PATCH] Don't include the '.yml' in the path to the retry files. --- lib/ansible/playbook/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/playbook/__init__.py b/lib/ansible/playbook/__init__.py index d654f79b817..dc49daa0a90 100644 --- a/lib/ansible/playbook/__init__.py +++ b/lib/ansible/playbook/__init__.py @@ -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: