error resolved - using wrong ansible module! needed to use the community.general.proxmox_kvm module not the community.general.proxmox which is used for LXC! My bad. thanks for the replies.
@cheiss located the conf file - under qemu-server dir not the lxc folder. However, when I cp the .conf file I am told that the file exists already. Same if I attempt to touch the file, apparently it exists... but dir (ls -al) shows no files.
@cheiss thanks for the reply.
VMID 900 is the Ubuntu template VM that I clone in the GUI.
pveversion -v
proxmox-ve: 7.4-1 (running kernel: 5.15.108-1-pve)
pve-manager: 7.4-16 (running version: 7.4-16/0f39f621)
pve-kernel-5.15: 7.4-4
pve-kernel-5.13: 7.1-9
pve-kernel-5.11: 7.0-10...
Playbook as follows:
- name: Create a full clone
hosts: PVE201
tasks:
- name: Create a full clone of 900
community.general.proxmox:
api_host: 192.168.90.201
api_user: root@pam
api_password: Passwrod
clone: 900 # vmid to clone...
cat /etc/pve/storage.cfg snippet
zfspool: local-hdd
pool raid1
content images,rootdir
mountpoint /raid1
sparse 1
pool: local-hdd
state: ONLINE
status: Some supported and requested features are not enabled on the pool.
The pool can still be used, but...
ah I see the mount point is /raid 1
root@pve91:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content vztmpl,iso,backup
lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images
nfs: pve_iso
export /volume1/pve_iso
path...
Many months agao created a zfs-pool `local-hdd`
2021-09-10.19:57:15 zpool create -o ashift=12 local-hdd /dev/disk/by-id/ata-ST500LM021-1KJ152_W62BB0MS
2021-09-10.19:57:20 zfs set compression=on local-hdd
2021-09-10.20:18:06 zpool import -c /etc/zfs/zpool.cache -aN
This is the output of zpool...
have to use win svr in the home/work lab, :( hit this hurldle also and followed this thread
- PVE Ver 7.0-8
- WIndows ISO (known working) - Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh.ISO
- machine type q35
qm config:
boot: order=ide0;ide2;net0
cores: 2
ide0...