Added upsnap

This commit is contained in:
Lino Silva
2023-09-05 16:37:31 +01:00
parent fd32f290af
commit f53ad0b32f
13 changed files with 227 additions and 16 deletions
@@ -0,0 +1,30 @@
---
- name: Create container
community.general.proxmox:
vmid: 638
node: mipha
api_user: root@pam
api_password: "{{ proxmox_api_password }}"
api_host: 10.0.2.2
password: "{{ lxc_password }}"
hostname: upsnap
ostemplate: "local:vztmpl/debian-12-standard_12.0-1_amd64.tar.zst"
netif: "{'net0':'name=eth0,\
gw=10.0.0.1,\
ip=10.0.2.38/21,\
hwaddr=cc:c6:cf:de:20:38,\
bridge=vmbr0'}"
cores: 1024
memory: 2048
unprivileged: no
swap: 0
searchdomain: "home"
onboot: 1
features:
- nesting=1
- keyctl=1
mounts: '{
"mp0":"local-lvm:2,mp=/data,backup=1"
}'
disk: local-lvm:10
force: yes