mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-24 21:08:30 +00:00
fix: Arbitrary File Read in Ansible Play
This commit is contained in:
@@ -105,7 +105,7 @@ class PlaybookRunner:
|
||||
shutil.rmtree(private_env)
|
||||
|
||||
kwargs = dict(kwargs)
|
||||
if self.isolate and not is_macos:
|
||||
if self.isolate and not is_macos():
|
||||
kwargs['process_isolation'] = True
|
||||
kwargs['process_isolation_executable'] = 'bwrap'
|
||||
|
||||
|
Reference in New Issue
Block a user