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

+8
View File
@@ -31,3 +31,11 @@
register: tpl_destroy
changed_when: "'destroyed' in tpl_destroy.stdout"
when: destroy_template | default(false) | bool
- name: Oublier les IP DHCP mémorisées
ansible.builtin.file:
path: "{{ inventory_dir }}/host_vars/{{ item }}/dhcp.yml"
state: absent
loop: "{{ groups['poc_vms'] | unique }}"
delegate_to: localhost
become: false