Remove state-version module from tests

This commit is contained in:
pinpox
2025-06-30 12:25:14 +02:00
parent 507152a1cc
commit 4709e8e2f6
3 changed files with 2 additions and 12 deletions

View File

@@ -17,6 +17,7 @@
machines.server = { };
instances.importer = {
module.name = "@clan/importer";
module.input = "self";
roles.default.tags.all = { };
roles.default.extraModules = [
{

View File

@@ -63,17 +63,7 @@ def create_base_inventory(ssh_keys_pairs: list[SSHKeyPair]) -> InventoryWrapper:
ssh_keys.append(InvSSHKeyEntry(f"user_{num}", ssh_key.public.read_text()))
"""Create the base inventory structure."""
legacy_services: dict[str, Any] = {
"state-version": {
"someid": {
"roles": {
"default": {
"tags": ["all"],
}
}
}
},
}
legacy_services: dict[str, Any] = {}
instances = InventoryInstancesType(
{

View File

@@ -12,7 +12,6 @@
# Set a root password
clan-core.clanModules.root-password
clan-core.clanModules.user-password
clan-core.clanModules.state-version
# You can access other flakes imported in your flake via `self` like this:
# self.inputs.nix-index-database.nixosModules.nix-index