Files
k3s-ansible/roles/n8n/provision/create/tasks/main.yml
T
2024-05-09 16:45:42 +01:00

31 lines
687 B
YAML

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