rocky-docker-lxc/, caddy-vm/, monitoring-vm/ (was missing entirely -
Grafana+Loki+Prometheus stack, refreshed and CA mount stripped same as
everything else), and automation/{ansible,automation-vm,iac}/ for the
three repos that live on the automation VM. Hawser is genuinely
deployed on all three of caddy-vm/monitoring-vm/automation-vm so it's
duplicated in each rather than picking one canonical home.
Old Ansible/ and "Infrastrucutre as Code/" content moved under
automation/ansible/old-playbooks and automation/iac/old-content as-is
for now - contents still need refreshing against the current repos and
a per-folder README, that's the next pass.
33 lines
814 B
Terraform
33 lines
814 B
Terraform
variable "vms" {
|
|
description = "Map of VMs to create"
|
|
type = map(object({
|
|
vmid = number
|
|
name = string
|
|
target_node = string
|
|
template = string
|
|
onboot = bool
|
|
cores = number
|
|
sockets = number
|
|
memory = number
|
|
bridge = string
|
|
macaddr = string
|
|
disk_size = number
|
|
disk_storage = string
|
|
ip = string
|
|
gateway = string
|
|
netmask = string
|
|
vlan = string
|
|
startup = object({
|
|
order = number
|
|
up = number
|
|
down = number
|
|
})
|
|
tags = list(string)
|
|
}))
|
|
}
|
|
|
|
variable "ansible_repo_path" {
|
|
description = "Path to the ansible repo"
|
|
type = string
|
|
}
|