Remove state-version module from tests
This commit is contained in:
@@ -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 = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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(
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user