31 lines
692 B
YAML
31 lines
692 B
YAML
---
|
|
- name: Create container
|
|
community.general.proxmox:
|
|
vmid: 613
|
|
node: mipha
|
|
api_user: root@pam
|
|
api_password: "{{ proxmox_api_password }}"
|
|
api_host: 10.0.2.2
|
|
password: "{{ lxc_password }}"
|
|
hostname: openvpn
|
|
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.22/21,\
|
|
firewall=1,\
|
|
hwaddr=cc:c6:cf:de:17:82,\
|
|
type=veth,\
|
|
bridge=vmbr0\
|
|
'}"
|
|
cores: 2
|
|
memory: 2048
|
|
unprivileged: yes
|
|
swap: 512
|
|
searchdomain: "home"
|
|
onboot: 1
|
|
features:
|
|
- nesting=1
|
|
disk: local-lvm:4
|
|
force: yes
|