Skip to content

Commit

Permalink
skip process isolation check for transmit and process
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealHaoLiu committed May 31, 2022
1 parent a349921 commit e2d29e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
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
5 changes: 5 additions & 0 deletions ansible_runner/interface.py
Expand Up @@ -55,6 +55,11 @@ def init_runner(**kwargs):
if kwargs.get('streamer') not in ('worker', 'process'):
dump_artifacts(kwargs)

# If running via the transmit-work-process method,
# do not perform check for isolation executable for transmit and process,
if kwargs.get('streamer') in ('transmit', 'process'):
kwargs["process_isolation"] = False

if kwargs.get('streamer'):
# undo any full paths that were dumped by dump_artifacts above in the streamer case
private_data_dir = kwargs['private_data_dir']
Expand Down

0 comments on commit e2d29e5

Please sign in to comment.