29 lines
753 B
YAML
29 lines
753 B
YAML
---
|
|
- name: Create container
|
|
community.general.proxmox:
|
|
vmid: 605
|
|
node: epona
|
|
api_user: root@pam
|
|
api_password: "{{ proxmox_api_password }}"
|
|
api_host: 10.0.2.2
|
|
password: "{{ lxc_password }}"
|
|
hostname: frigate
|
|
ostemplate: "hyrule-8tb-nfs:vztmpl/debian-11-standard_11.3-1_amd64.tar.zst"
|
|
netif: "{'net0':'name=eth0,\
|
|
gw=10.0.0.1,\
|
|
ip=10.0.2.14/21,\
|
|
hwaddr=44:ae:9f:cd:b9:2a,\
|
|
bridge=vmbr0'}"
|
|
cores: 1
|
|
memory: 6144
|
|
unprivileged: no
|
|
swap: 0
|
|
searchdomain: "home"
|
|
onboot: 1
|
|
mounts: '{"mp0":"local-lvm:1,mp=/config","mp1":"local-lvm:150,mp=/media/frigate","mp2":"local-lvm:1,mp=/db"}'
|
|
features:
|
|
- nesting=1
|
|
- keyctl=1
|
|
disk: local-lvm:50
|
|
force: yes
|