add inventory metadata

This commit is contained in:
clan-tool 2025-09-03 17:26:40 +02:00
parent ccad6b4798
commit 218eb0ea42
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -6,10 +6,26 @@
};
inventory.machines = {
m1 = {};
c1 = {};
c2 = {};
c3 = {};
m1 = {
name = "Management node 1";
machineClass = "nixos";
tags = [ "cloud:amarth" "region:oss" "nodeType:management" "criticallity: medium" "" ];
};
c1 = {
name = "Compute node 1";
machineClass = "nixos";
tags = [ "cloud:amarth" "region:oss" "nodeType:compute" "criticallity: medium" "" ];
};
c2 = {
name = "Compute node 2";
machineClass = "nixos";
tags = [ "cloud:amarth" "region:oss" "nodeType:compute" "criticallity: medium" "" ];
};
c3 = {
name = "Compute node 3";
machineClass = "nixos";
tags = [ "cloud:amarth" "region:oss" "nodeType:compute" "criticallity: medium" "" ];
};
};
# Docs: See https://docs.clan.lol/reference/clanServices