olimp/roles/proxmox_lxc/tasks/main.yml
2025-10-10 15:48:25 +00:00

20 lines
493 B
YAML

---
- name: Create Gateway LXC container
community.proxmox.proxmox_lxc:
node: "{{ proxmox_node }}"
vmid: 221
hostname: gateway
storage: "vmsystem"
cores: 1
memory: 2048
swap: 512
rootfs: "vmsystem:5"
template: "ubuntu-24.04-standard_24.04-2_amd64.tar.zst"
password: "{{ proxmox_root_password }}"
net:
name: eth0
bridge: vmbr0
ip: 192.168.1.221/24
gw: 192.168.1.1
unprivileged: true
state: present