Skip to content

Commit

Permalink
skip process isolation check for transmit and process
Browse files Browse the repository at this point in the history
Signed-off-by: Hao Liu <haoli@redhat.com>
  • Loading branch information
TheRealHaoLiu committed Jun 1, 2022
1 parent a349921 commit 961c7f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -28,6 +28,7 @@ rpm-build/
.tox/
.venv
venv/
.vscode/

# Demo files
/demo/artifacts
Expand Down
2 changes: 1 addition & 1 deletion ansible_runner/interface.py
Expand Up @@ -83,7 +83,7 @@ def init_runner(**kwargs):
if logfile:
output.set_logfile(logfile)

if kwargs.get("process_isolation", False):
if kwargs.get("process_isolation", False) and kwargs.get("streamer") not in ('transmit', 'process'):
pi_executable = kwargs.get("process_isolation_executable", "podman")
if not check_isolation_executable_installed(pi_executable):
print(f'Unable to find process isolation executable: {pi_executable}')
Expand Down

0 comments on commit 961c7f1

Please sign in to comment.