acupedia-ops/acupedia_ops/common/paths.py

8 lines
162 B
Python

from pathlib import Path
def repo_root() -> Path:
return Path(__file__).resolve().parents[2]
def ansible_root() -> Path:
return repo_root() / "ansible"