mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
Don't remove script at this point
This commit is contained in:
parent
06c75aeecf
commit
7b6c5f68a9
@ -1119,10 +1119,10 @@ class RunInventoryUpdate(BaseTask):
|
|||||||
f.close()
|
f.close()
|
||||||
os.chmod(path, stat.S_IRUSR|stat.S_IWUSR|stat.S_IXUSR)
|
os.chmod(path, stat.S_IRUSR|stat.S_IWUSR|stat.S_IXUSR)
|
||||||
args.append(runpath)
|
args.append(runpath)
|
||||||
try:
|
# try:
|
||||||
shutil.rmtree(runpath, True)
|
# shutil.rmtree(runpath, True)
|
||||||
except OSError:
|
# except OSError:
|
||||||
pass
|
# pass
|
||||||
verbosity = getattr(settings, 'INVENTORY_UPDATE_VERBOSITY', 1)
|
verbosity = getattr(settings, 'INVENTORY_UPDATE_VERBOSITY', 1)
|
||||||
args.append('-v%d' % verbosity)
|
args.append('-v%d' % verbosity)
|
||||||
if settings.DEBUG:
|
if settings.DEBUG:
|
||||||
|
Loading…
Reference in New Issue
Block a user