Files
k3s-ansible/roles/50-technitium-dns-2/provision/create/tasks/main.yml
T
2025-12-09 11:24:57 +00:00

31 lines
725 B
YAML

---
- name: Create container
community.general.proxmox:
vmid: 650
node: purah
api_user: root@pam
api_password: "{{ proxmox_api_password }}"
api_host: 10.0.2.2
password: "{{ lxc_password }}"
hostname: technitium-dns-2
ostemplate: "local:vztmpl/debian-12-standard_12.12-1_amd64.tar.zst"
netif: "{'net0':'name=eth0,\
gw=10.0.0.1,\
ip=10.0.2.50/21,\
hwaddr=cc:c6:cf:de:20:50,\
bridge=vmbr0'}"
cores: 2
memory: 4196
unprivileged: no
swap: 0
searchdomain: "home"
onboot: 1
features:
- nesting=1
- keyctl=1
disk: purah-mirror-860gb:20
mounts: '{
"mp0":"purah-mirror-860gb:10,mp=/data,backup=1"
}'
force: yes