Add state-version nixos option

This reverts commit 8f6f06bef3.
This commit is contained in:
pinpox
2025-07-02 09:46:06 +02:00
parent 1b34aa06a4
commit 9a293f790e
9 changed files with 27 additions and 18 deletions

View File

@@ -64,17 +64,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(
{