mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 11:11:07 -03:30
Respect system configured tmp directory
This commit is contained in:
@@ -5,6 +5,7 @@ import base64
|
|||||||
import os
|
import os
|
||||||
import re # noqa
|
import re # noqa
|
||||||
import sys
|
import sys
|
||||||
|
import tempfile
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
|
|
||||||
|
|
||||||
@@ -590,7 +591,7 @@ AWX_ISOLATION_SHOW_PATHS = []
|
|||||||
# execution and isolation (such as credential files and custom
|
# execution and isolation (such as credential files and custom
|
||||||
# inventory scripts).
|
# inventory scripts).
|
||||||
# Note: This setting may be overridden by database settings.
|
# Note: This setting may be overridden by database settings.
|
||||||
AWX_ISOLATION_BASE_PATH = "/tmp"
|
AWX_ISOLATION_BASE_PATH = tempfile.gettempdir()
|
||||||
|
|
||||||
# User definable ansible callback plugins
|
# User definable ansible callback plugins
|
||||||
# Note: This setting may be overridden by database settings.
|
# Note: This setting may be overridden by database settings.
|
||||||
|
|||||||
Reference in New Issue
Block a user