From 536ae8701d591aeb559a3f212efebae0b9ed1270 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Tue, 1 Oct 2024 15:20:39 +0200 Subject: [PATCH] Inventory/docs: display explizit roles only --- pkgs/clan-cli/clan_cli/api/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/clan-cli/clan_cli/api/modules.py b/pkgs/clan-cli/clan_cli/api/modules.py index 9eaa56cc7..b23753e19 100644 --- a/pkgs/clan-cli/clan_cli/api/modules.py +++ b/pkgs/clan-cli/clan_cli/api/modules.py @@ -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