Files
k3s-ansible/roles/youtube-downloader/provision/create/tasks/main.yml
T
2023-04-19 15:23:26 +01:00

32 lines
715 B
YAML

---
- name: Create container
community.general.proxmox:
vmid: 614
node: impa
api_user: root@pam
api_password: "{{ proxmox_api_password }}"
api_host: 10.0.2.2
password: "{{ lxc_password }}"
hostname: youtube-downloader
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.23/21,\
hwaddr=cc:c6:cf:de:17:83,\
bridge=vmbr0'}"
cores: 1
memory: 1024
unprivileged: no
swap: 0
searchdomain: "home"
onboot: 1
features:
- nesting=1
- keyctl=1
disk: ssd250:5
mounts: '{
"mp1":"/mnt/8TB/Youtube,mp=/downloads"
}'
force: yes