- move ansible project within infra - introduce terraform/opentofu for proxmox VM management
		
			
				
	
	
		
			30 lines
		
	
	
		
			669 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			669 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # VM related variables
 | |
| vm_list:
 | |
|   - id: 106
 | |
|     name: "vm6"
 | |
|     memory: 4096
 | |
|     cores: 2
 | |
|     disk_size: 30G
 | |
|     ip: "192.168.1.151/24"
 | |
|     gateway: "192.168.1.1"
 | |
|     nameserver1: "192.168.1.145"
 | |
|     nameserver2: "1.1.1.1"
 | |
|   - id: 107
 | |
|     name: "vm7"
 | |
|     memory: 4096
 | |
|     cores: 2
 | |
|     disk_size: 30G
 | |
|     ip: "192.168.1.152/24"
 | |
|     gateway: "192.168.1.1"
 | |
|     nameserver1: "192.168.1.145"
 | |
|     nameserver2: "1.1.1.1"
 | |
| 
 | |
| # cloud-init variables
 | |
| node: "homeserver1"
 | |
| net0: "virtio,bridge=vmbr0"
 | |
| # disk_name: "local:1000/vm-1000-disk-0.raw,discard=on"
 | |
| disk_path: "/var/lib/vz/images/1000"
 | |
| ide2: "local:cloudinit,format=qcow2"
 | |
| boot_order: "order=scsi0"
 | |
| scsi_hw: "virtio-scsi-pci"
 |