diff --git a/apps/ops/ansible/runner.py b/apps/ops/ansible/runner.py index d5e6c8379..53ab5e89e 100644 --- a/apps/ops/ansible/runner.py +++ b/apps/ops/ansible/runner.py @@ -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' diff --git a/apps/ops/models/job.py b/apps/ops/models/job.py index 689989b9a..9b203fc05 100644 --- a/apps/ops/models/job.py +++ b/apps/ops/models/job.py @@ -422,6 +422,7 @@ class JobExecution(JMSOrgBaseModel): this.result.update(cb.result) else: this.result = cb.result + this.result = json.loads(json.dumps(this.result).replace('\\u0000', '')) this.finish_task() def finish_task(self):