diff --git a/lib/ansible/playbook/__init__.py b/lib/ansible/playbook/__init__.py index d654f79b81..dc49daa0a9 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: