feat(proxmox): automatic vm creation
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -2,21 +2,18 @@ proxmox_api_user: root
|
||||
proxmox_api_host: 192.168.20.12
|
||||
proxmox_api_password: "{{ vault.pve.aya01.root.sudo }}"
|
||||
|
||||
proxmox_vms:
|
||||
vms:
|
||||
- name: "test-vm-00"
|
||||
node: "inko"
|
||||
vmid: 950
|
||||
cores: 2
|
||||
cpu: "x86-64-v2-AES"
|
||||
memory: 8192 # in MiB
|
||||
net:
|
||||
net0: "virtio,bridge=vmbr0,firewall=1"
|
||||
scsi:
|
||||
scsi0: "proxmox:64,format=qcow2"
|
||||
scsihw: "virtio-scsi-single"
|
||||
ostype: "l26"
|
||||
sshkeys: "{{ pubkey }}"
|
||||
boot_image: "{{ proxmox_cloud_init_images.ubuntu.name }}"
|
||||
ciuser: "{{ user }}"
|
||||
sshkeys: "{{ pubkey }}"
|
||||
disk_size: 32 # in Gb
|
||||
|
||||
proxmox_lxcs:
|
||||
lxcs:
|
||||
- name: "test-lxc-00"
|
||||
|
||||
Reference in New Issue
Block a user