Added Senegal 191/25 Inventory

This commit is contained in:
Francesco Zimbolo
2026-04-24 12:59:06 +00:00
parent d8b60d10e0
commit 03270f1ef8
2 changed files with 79 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
---
# ============================================================
# Proxmox Post-Install - Group Variables (Senegal)
# ============================================================
# --- Deployment Toggles ---
standalone_mode: false
deploy_linstor: true
disable_ipv6: false
wipe_linstor_disks: true
# --- Proxmox Cluster ---
pve_cluster_name: "senegal"
# pve_enterprise_key: "" # Optional: global key (prefer per-host key in hosts.ini)
# --- Linstor / LINBIT Repository ---
# Auto-calculated as: Debian major version - 4 (e.g. Debian 13 = proxmox-9).
# Override manually if LINBIT publishes a differently-named repo for new Proxmox versions.
# linbit_proxmox_version: 9
# --- Linstor HA Controller ---
ha_pool: "fast_pool_1"
ha_vip: "10.191.125.4"
ha_vip_cidr: "29"
# --- Linstor Storage Pools ---
# Each entry defines one Resource Group, composed of one storage pool per node.
# All pools in the same entry share the same pool_name across nodes.
#
# TARGET RULES:
# - Use a raw block device path (/dev/sdb) to auto-create VG + LVM Thin Pool.
# - Use an existing thin-pool path (vg_name/thin_name, e.g. "pve/data") to register
# an already-existing LVM thin pool WITHOUT touching existing data.
#
# Keys under "targets" must match the Ansible inventory_hostname of each node
# (i.e. the left-hand label in hosts.ini, e.g. "vtmis1-ve").
linstor_storage_pools:
- pool_name: "fast_pool_1"
rg_name: "fast_pool_1"
vg_name: "pve"
thin_name: "data"
targets:
vtmis1-ve: "pve/data"
vtmis2-ve: "pve/data"
vtmis3-ve: "pve/data"
- pool_name: "slow_pool_1"
rg_name: "slow_pool_1"
vg_name: "sp1"
thin_name: "data"
targets:
vtmis1-ve: "/dev/sda"
vtmis2-ve: "/dev/sda"
vtmis3-ve: "/dev/sda"

View File

@@ -0,0 +1,25 @@
# ============================================================
# Proxmox Cluster Inventory - INI Format
# Copy this file to your inventory folder as "hosts.ini"
# and adjust IPs, hostnames, and optional keys.
# ============================================================
[proxmox]
# Format: <inventory_alias> ansible_host=<management_ip> [priv_ip=<cluster_ip>] [priv_nic_1=<nic>] [priv_nic_2=<nic>] [pve_enterprise_key=<key>]
#
# - inventory_alias : Arbitrary label used by Ansible. Does NOT need to match the real hostname.
# The real system hostname (ansible_hostname) is used for Proxmox & Linstor nodes.
# - ansible_host : IP used by Ansible to SSH into the node (management/public IP).
# - priv_ip : IP used for Corosync cluster traffic and Linstor replication (private/dedicated NIC).
# If omitted, ansible_host is used as fallback.
# - priv_nic_1/2 : (Optional) The two NICs forming the full-mesh p2p bridge (named "p2p").
# Required only when running network.yml to configure the private bridge.
# NIC names differ per node — check with: ip link show
# - pve_enterprise_key : (Optional) Per-node Proxmox enterprise subscription key.
vtmis1-ve ansible_host=10.191.25.21 priv_ip=10.191.125.1 priv_nic_1=nic2 priv_nic_2=nic3
vtmis2-ve ansible_host=10.191.25.22 priv_ip=10.191.125.2 priv_nic_1=nic2 priv_nic_2=nic3
vtmis3-ve ansible_host=10.191.25.23 priv_ip=10.191.125.3 priv_nic_1=nic2 priv_nic_2=nic3
# Single-node example (no cluster, no Linstor):
# pve-standalone ansible_host=10.0.0.50