fix(awooop): locate ansible catalog from api cwd
This commit is contained in:
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user