diff --git a/apps/api/src/services/awooop_truth_chain_service.py b/apps/api/src/services/awooop_truth_chain_service.py index ec54c6a5..898aa6a6 100644 --- a/apps/api/src/services/awooop_truth_chain_service.py +++ b/apps/api/src/services/awooop_truth_chain_service.py @@ -708,9 +708,11 @@ def _execution_backend_summary(records: list[dict[str, Any]]) -> dict[str, Any]: def _ansible_runtime_readiness() -> dict[str, Any]: + repo_root = Path(__file__).resolve().parents[4] playbook_roots = [ Path("/app/infra/ansible"), Path.cwd() / "infra" / "ansible", + repo_root / "infra" / "ansible", ] playbook_root = next((path for path in playbook_roots if path.exists()), None) playbook_paths = (