mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
f3375c638e
* Fixed incorrect VMID: cloning to an existing VM
During a cloning operation, if the destination VM already exists the VMID returned is not correct.
The VMID returned should be that of the destination VM and not that of the source VM (consistent with line 1230).
A playbook that relies on the returned VMID, for example, to perform other operations on the destination VM, will not work properly if it is unexpectedly interrupted.
* Add files via upload
* moved 3266-vmid-existing-target-clone.yml to changelogs/fragments/
replaced line separator CRLF -> LF
* storing vmid list in variable to avoid multiple API calls
(cherry picked from commit 4e2d4e3c68
)
Co-authored-by: Atlas974 <43972908+Atlas974@users.noreply.github.com>
3 lines
No EOL
261 B
YAML
3 lines
No EOL
261 B
YAML
bugfixes:
|
|
- proxmox_kvm - clone operation should return the VMID of the target VM and not that of the source VM.
|
|
This was failing when the target VM with the chosen name already existed (https://github.com/ansible-collections/community.general/pull/3266). |