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:
parent
0d530f3bf0
commit
61f2668b0a
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue