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] f21b41d3aa
Fixed incorrect VMID: cloning to an existing VM (#3266) (#3281)
* 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:04:00 +02:00
..
cloud_init_data_facts.py Reduce ignored sanity tests in cloud/misc modules (#845) 2020-09-01 13:44:04 +02:00
helm.py Reduce ignored sanity tests in cloud/misc modules (#845) 2020-09-01 13:44:04 +02:00
ovirt.py Remove programming error which prevents modules to work with devel. (#2381) 2021-04-30 05:50:45 +02:00
proxmox.py Adding purge parameter to proxmox for use with lxc delete requests (#2013) (#2050) 2021-03-19 19:58:44 +01:00
proxmox_domain_info.py More renames. (#2307) (#2316) 2021-04-21 13:23:38 +02:00
proxmox_group_info.py More renames. (#2307) (#2316) 2021-04-21 13:23:38 +02:00
proxmox_kvm.py Fixed incorrect VMID: cloning to an existing VM (#3266) (#3281) 2021-08-27 19:04:00 +02:00
proxmox_snap.py Improved parameter handling on proxmox modules (#1765) (#1801) 2021-02-12 17:08:14 +01:00
proxmox_storage_info.py More renames. (#2307) (#2316) 2021-04-21 13:23:38 +02:00
proxmox_template.py Improved parameter handling on proxmox modules (#1765) (#1801) 2021-02-12 17:08:14 +01:00
proxmox_user_info.py More renames. (#2307) (#2316) 2021-04-21 13:23:38 +02:00
rhevm.py removed unreachable code (#2157) (#2170) 2021-04-05 09:50:16 +02:00
serverless.py Reduce ignored sanity tests in cloud/misc modules (#845) 2020-09-01 13:44:04 +02:00
terraform.py Terraform: ensure workspace is reset to current value (#2634) (#2721) 2021-06-04 21:12:50 +02:00
xenserver_facts.py [stable-2] added supports_check_mode=True to info/facts modules (#3095) 2021-07-28 07:42:07 +02:00