Refactored inventory by using templates and jobs-folders

This commit is contained in:
Francesco Zimbolo
2026-04-23 08:19:06 +00:00
parent 251a8f7f64
commit db98e3b172
2 changed files with 10 additions and 10 deletions

View File

@@ -3,34 +3,34 @@
deploy_linstor: false # Set to true to install and configure Linstor/DRBD deploy_linstor: false # Set to true to install and configure Linstor/DRBD
# Proxmox Cluster Configuration # Proxmox Cluster Configuration
pve_cluster_name: "prod-cluster" pve_cluster_name: "example-cluster"
pve_enterprise_key: "" # Leave empty ("") to use no-subscription, or insert "PVE..." key pve_enterprise_key: "" # Leave empty to use non-subscription repos
# High Availability Controller Configuration # High Availability Controller Configuration
ha_pool: "fast_pool_1" ha_pool: "fast_pool_1"
ha_vip: "10.191.125.4" ha_vip: "192.168.2.4"
ha_vip_cidr: "29" ha_vip_cidr: "29"
# Linstor Storage Pools Configuration # Linstor Storage Pools Configuration
# You can add or remove pools as needed
# TARGET RULES:
# Use raw disk (/dev/sdb) to wipe/create LVM
# Use existing thin-pool path (pve/data) to register safely (data won't be deleted)
linstor_storage_pools: linstor_storage_pools:
- pool_name: "fast_pool_1" - pool_name: "fast_pool_1"
rg_name: "fast_pool_1" rg_name: "fast_pool_1"
vg_name: "pve" vg_name: "pve"
thin_name: "data" thin_name: "data"
# TARGET RULES:
# Use raw disk (/dev/sdb) to wipe/create LVM
# Use existing thin-pool path (pve/data) to register safely
targets: targets:
pve-node-01: "pve/data" pve-node-01: "pve/data"
pve-node-02: "pve/data" pve-node-02: "pve/data"
pve-node-03: "pve/data" pve-node-03: "pve/data"
- pool_name: "slow_pool_1" - pool_name: "slow_pool_1"
rg_name: "slow_pool_1" rg_name: "slow_pool_1"
vg_name: "sp1" vg_name: "sp1"
thin_name: "data" thin_name: "data"
# TARGET RULES:
# Use raw disk (/dev/sdb) to wipe/create LVM
# Use existing thin-pool path (pve/data) to register safely
targets: targets:
pve-node-01: "/dev/sda" pve-node-01: "/dev/sda"
pve-node-02: "/dev/sda" pve-node-02: "/dev/sda"