1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/cloud/misc
patchback[bot] f3375c638e
Fixed incorrect VMID: cloning to an existing VM (#3266) (#3282)
* 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>
2021-08-27 19:09:37 +02:00
..
cloud_init_data_facts.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
proxmox.py mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00
proxmox_domain_info.py More renames. (#2307) 2021-04-21 12:54:35 +02:00
proxmox_group_info.py minor refactors on plugins/modules/cloud/misc (#2557) (#2660) 2021-05-27 20:15:49 +02:00
proxmox_kvm.py Fixed incorrect VMID: cloning to an existing VM (#3266) (#3282) 2021-08-27 19:09:37 +02:00
proxmox_nic.py proxmox_nic: set mtu on interface even if it's not virtio (#2505) (#2507) 2021-05-14 16:24:47 +02:00
proxmox_snap.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
proxmox_storage_info.py More renames. (#2307) 2021-04-21 12:54:35 +02:00
proxmox_template.py mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00
proxmox_user_info.py More renames. (#2307) 2021-04-21 12:54:35 +02:00
rhevm.py minor refactors on plugins/modules/cloud/misc (#2557) (#2660) 2021-05-27 20:15:49 +02:00
serverless.py serverless - deprecating unused param (#2845) (#2847) 2021-06-20 12:14:37 +00:00
terraform.py terraform - added check_destroy (#2874) (#2888) 2021-06-27 13:00:50 +02:00
xenserver_facts.py mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00