API: force flag

morph027

Renowned Member
Mar 22, 2013
453
63
93
Leipzig
morph027.gitlab.io
Hi all (or in this case, Hi PVE devs *g*)!

Right now i'm trying to debug a new ansible module which is able to handle KVM via API (leveraging proxmoxer).

It works pretty good from the start, but i found a small glitch which i'm trying to debug (if we need to take care of in the module or in proxmoxer).

If you follow my comments, i can explain my confusion ;)

Does the force flag only apply creation of vms by restoring them from a backup archive? At least, this is what i guess from the qm create ... output. Does the force flag even apply to any other task? I guess not, at least i can't remind of creating a new VM from scratch and replace an existing one.