mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Don't include the '.yml' in the path to the retry files.
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user