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

@@ -0,0 +1,37 @@
---
# Deployment Toggles
deploy_linstor: false # Set to true to install and configure Linstor/DRBD
# Proxmox Cluster Configuration
pve_cluster_name: "example-cluster"
pve_enterprise_key: "" # Leave empty to use non-subscription repos
# High Availability Controller Configuration
ha_pool: "fast_pool_1"
ha_vip: "192.168.2.4"
ha_vip_cidr: "29"
# 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:
- pool_name: "fast_pool_1"
rg_name: "fast_pool_1"
vg_name: "pve"
thin_name: "data"
targets:
pve-node-01: "pve/data"
pve-node-02: "pve/data"
pve-node-03: "pve/data"
- pool_name: "slow_pool_1"
rg_name: "slow_pool_1"
vg_name: "sp1"
thin_name: "data"
targets:
pve-node-01: "/dev/sda"
pve-node-02: "/dev/sda"
pve-node-03: "/dev/sda"

View File

@@ -0,0 +1,13 @@
all:
children:
proxmox:
hosts:
pve-node-01:
ansible_host: 10.191.25.21
priv_ip: 10.191.125.1
pve-node-02:
ansible_host: 10.191.25.22
priv_ip: 10.191.125.2
pve-node-03:
ansible_host: 10.191.25.23
priv_ip: 10.191.125.3