infra: introduce terraform/opentofu for proxmox management
- move ansible project within infra - introduce terraform/opentofu for proxmox VM management
This commit is contained in:
		
							
								
								
									
										11
									
								
								infra/ansible/inventory/group_vars/all.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								infra/ansible/inventory/group_vars/all.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | ||||
| # Proxmox access related variables | ||||
| proxmox_api_url: "192.168.1.121" | ||||
|  | ||||
| # Cloud-init image related variables | ||||
| image_url: "https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img" | ||||
| image_dest: "/tmp/cloud-image.img" | ||||
| image_format: "qcow2" | ||||
| storage_name: "local" | ||||
|  | ||||
| # ansible venv | ||||
| ansible_venv: "/home/taqi/.venv/ansible/bin/python" | ||||
							
								
								
									
										22
									
								
								infra/ansible/inventory/group_vars/vms.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								infra/ansible/inventory/group_vars/vms.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,22 @@ | ||||
| apt_packages: | ||||
|   - curl | ||||
|   - vim | ||||
|   - htop | ||||
|  | ||||
| # Kubernetes k0sctl configuration vars | ||||
| master1_ip: "192.168.1.151" | ||||
| master1_hostname: "vm6" | ||||
| master2_ip: "192.168.1.161" | ||||
| master2_hostname: "vm8" | ||||
| worker1_ip: "192.168.1.152" | ||||
| worker1_hostname: "vm7" | ||||
| worker2_ip: "192.168.1.162" | ||||
| worker2_hostname: "vm9" | ||||
|  | ||||
| pod_CIDR: "10.244.0.0/16" | ||||
| service_CIDR: "10.96.0.0/12" | ||||
| metallb_ip_range: "192.168.1.201-192.168.1.220" | ||||
|  | ||||
| k0s_version: "v1.33.2+k0s.0" | ||||
| metallb_version: "0.15.2" | ||||
| traefik_version: "36.2.0" | ||||
		Reference in New Issue
	
	Block a user