ansiiiible
This commit is contained in:
parent
85d0217436
commit
a8aa633c49
12 changed files with 314 additions and 0 deletions
14
ansible/inventory/group_vars/all.yml
Normal file
14
ansible/inventory/group_vars/all.yml
Normal 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
|
||||
7
ansible/inventory/hosts.yml
Normal file
7
ansible/inventory/hosts.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
all:
|
||||
children:
|
||||
proxmox:
|
||||
hosts:
|
||||
proxmox-01:
|
||||
ansible_host: 192.168.1.205 # Replace with your Proxmox host IP/hostname
|
||||
Loading…
Add table
Add a link
Reference in a new issue