ansiiiible

This commit is contained in:
plasmagoat 2025-06-09 00:16:41 +02:00
parent 85d0217436
commit a8aa633c49
12 changed files with 314 additions and 0 deletions

View file

@ -0,0 +1,14 @@
# VM/Template Configuration
backup_template_vmid: 9101
backup_template_vm_name: nixos-base-backup
latest_template_vmid: 9100
latest_template_vm_name: nixos-base-latest
storage_name: local-lvm # Proxmox storage to use (e.g., local-lvm, local)
result_path: "{{ playbook_dir }}/../result" # Build output directory
dest_image_path: "/var/lib/vz/dump/" # Directory on Proxmox to upload images
# Configuration for the restored VM
cpu_cores: 2
memory_mb: 2048

View file

@ -0,0 +1,7 @@
---
all:
children:
proxmox:
hosts:
proxmox-01:
ansible_host: 192.168.1.205 # Replace with your Proxmox host IP/hostname