Inventory/docs: display explizit roles only

This commit is contained in:
Johannes Kirschbauer
2024-10-01 15:20:39 +02:00
parent 40f0e98b26
commit 536ae8701d

View File

@@ -122,7 +122,7 @@ def get_roles(module_path: Path) -> None | list[str]:
roles_dir = module_path / "roles"
if not roles_dir.exists() or not roles_dir.is_dir():
return ["default"]
return []
return [
role.stem # filename without .nix extension