Remove state-version module from tests

This commit is contained in:
pinpox
2025-06-30 12:25:14 +02:00
parent 47d4dfad1b
commit 9e7e0378a8
3 changed files with 2 additions and 12 deletions

View File

@@ -17,6 +17,7 @@
machines.server = { }; machines.server = { };
instances.importer = { instances.importer = {
module.name = "@clan/importer"; module.name = "@clan/importer";
module.input = "self";
roles.default.tags.all = { }; roles.default.tags.all = { };
roles.default.extraModules = [ 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())) ssh_keys.append(InvSSHKeyEntry(f"user_{num}", ssh_key.public.read_text()))
"""Create the base inventory structure.""" """Create the base inventory structure."""
legacy_services: dict[str, Any] = { legacy_services: dict[str, Any] = {}
"state-version": {
"someid": {
"roles": {
"default": {
"tags": ["all"],
}
}
}
},
}
instances = InventoryInstancesType( instances = InventoryInstancesType(
{ {

View File

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