commit c45bd0b6e346f61b1fdb8e6fcfe030c5cf641832
parent 75989831b64634d10d7a6b91b0a84b940213a697
Author: Asher Morgan <asher@ashermorgan.net>
Date: Tue, 18 Aug 2026 20:00:45 -0700
Create temporary directories with "aoh-" prefix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aoh/runner.py b/aoh/runner.py
@@ -16,7 +16,7 @@ class AoHError(Exception):
class AoHRunner:
def __init__(self, config, playbook, host, args):
self.id = str(uuid4())
- self._dir = tempfile.mkdtemp()
+ self._dir = tempfile.mkdtemp(prefix='aoh-')
self._LOGS_PATH = f'{self._dir}/artifacts/{self.id}/stdout'
self._RECVBUF_PATH = f'{self._dir}/recvbuf'
self._SENDBUF_PATH = f'{self._dir}/sendbuf'