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.
79 lines
1.7 KiB
HCL
79 lines
1.7 KiB
HCL
vms = {
|
|
haproxy = {
|
|
vmid = id number here
|
|
name = "vm name"
|
|
target_node = "hypervisor node name"
|
|
template = "template-name"
|
|
onboot = true
|
|
cores = 2
|
|
sockets = 1
|
|
memory = 2048
|
|
bridge = "vmbr0"
|
|
macaddr = "xx:x:x:x:x:x"
|
|
disk_size = 20
|
|
disk_storage = "storage name here"
|
|
ip = "xx.xx.xx.x"
|
|
gateway = "x.x.x.x"
|
|
netmask = "24"
|
|
vlan = "0"
|
|
startup = {
|
|
order = 3
|
|
up = 10
|
|
down = 10
|
|
}
|
|
tags = [
|
|
"packages",
|
|
"hostname_network",
|
|
"root_password",
|
|
"disk_resize",
|
|
"base_users",
|
|
"firewall_ssh",
|
|
"endlessh",
|
|
"portainer_agent",
|
|
"zsh_custom",
|
|
"cis_hardening"
|
|
]
|
|
}
|
|
docker = {
|
|
vmid = id number here
|
|
name = "vm name"
|
|
target_node = "hypervisor node name"
|
|
template = "template-name"
|
|
onboot = true
|
|
cores = 2
|
|
sockets = 1
|
|
memory = 8192
|
|
bridge = "vmbr0"
|
|
macaddr = "xx:x:x:x:x:x"
|
|
disk_size = 20
|
|
disk_storage = "storage name here"
|
|
ip = "xx.xx.xx.x"
|
|
gateway = "x.x.x.x"
|
|
netmask = "24"
|
|
vlan = "0"
|
|
startup = {
|
|
order = 3
|
|
up = 10
|
|
down = 20
|
|
}
|
|
tags = [
|
|
"packages",
|
|
"hostname_network",
|
|
"root_password",
|
|
"disk_resize",
|
|
"base_users",
|
|
"firewall_ssh",
|
|
"endlessh",
|
|
"portainer_agent",
|
|
"zsh_custom",
|
|
"vault_agent",
|
|
"cis_hardening",
|
|
"docker_gitlab_setup"
|
|
"s_nail",
|
|
"lynis"
|
|
]
|
|
}
|
|
}
|
|
|
|
ansible_repo_path = ""
|