Proxmox lancelot : compte API dédié, VLAN 200 LAB en DHCP

Clonage par l'API (community.proxmox) avec bwpoc@pve limité au pool
bwpoc ; modèle créé une fois en root avec l'agent QEMU, qui sert à lire
les IP DHCP écrites dans inventory/host_vars/<vm>/dhcp.yml.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
claude BotandClaude Opus 5.5 committed 2026-10-27 11:25:53 +01:00
1 parent 099584c95c
commit 5846487f07
15 files changed
+502 -348

No files matched your search

+4 -5
View File
@@ -1,13 +1,15 @@
---
# Inventaire du PoC BunkerWeb.
# Les VM prennent leur IP par DHCP (VLAN 200 "LAB") : 00-proxmox.yml la lit
# via l'agent QEMU et l'écrit dans inventory/host_vars/<vm>/dhcp.yml.
# Mode "split" (défaut) : 3 VM distinctes (WAF, applis, client).
# Mode "single" : voir inventory/single.yml (tout sur une seule VM).
all:
children:
proxmox:
hosts:
pve01:
ansible_host: 192.168.200.10 # A ADAPTER : nœud Proxmox qui héberge les VM
lancelot:
ansible_host: 172.16.16.7
ansible_user: root
poc_vms:
vars:
@@ -17,7 +19,6 @@ all:
bunkerweb:
hosts:
bw-waf:
ansible_host: 192.168.200.61 # A ADAPTER
vm_id: 9101
vm_cores: 2
vm_memory: 4096
@@ -25,7 +26,6 @@ all:
apps:
hosts:
bw-apps:
ansible_host: 192.168.200.62 # A ADAPTER
vm_id: 9102
vm_cores: 2
vm_memory: 4096
@@ -33,7 +33,6 @@ all:
client:
hosts:
bw-client:
ansible_host: 192.168.200.63 # A ADAPTER
vm_id: 9103
vm_cores: 1
vm_memory: 1024