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/tests/unit/plugins
Amin Vakil 72d0c21f56
[backport][stable-2] proxmox_kvm: Fix ZFS device string parsing (#2841) (#2849)
* proxmox_kvm: Fix ZFS device string parsing (#2841)

ZFS-backed block devices may contain just the bare device name and
not have extra options like `,size=foo`, `,format=qcow2` etc. This
breaks an assumption in existing regex (which expects a comma).

Support such device strings and add a couple of testcases to validate.

* Fix

* Update plugins/modules/cloud/misc/proxmox_kvm.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/cloud/misc/proxmox_kvm.py

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Anup Chenthamarakshan <anupcshan@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-06-21 12:40:28 +02:00
..
become Use become test framework for sudosu tests. (#2629) (#2630) 2021-05-26 10:47:02 +02:00
cache redis cache - better parsing of connection uri (#2579) (#2621) 2021-05-26 09:59:58 +02:00
callback Callback plugin: Azure Log Analytics (#2091) (#2133) 2021-03-30 12:37:52 +02:00
connection Removal of docker content for 2.0.0 (#1304) 2020-11-23 13:03:19 +01:00
inventory Proxmox inv fix agent string parsing (#2245) (#2255) 2021-04-17 10:43:59 +02:00
lookup Add Thycotic DevOps Secrets Vault lookup plugin (#90) 2020-07-13 05:45:07 +00:00
module_utils New module: Add Pritunl VPN organization module (net_tools/pritunl/) (#804) (#2212) 2021-04-09 05:35:07 +02:00
modules [backport][stable-2] proxmox_kvm: Fix ZFS device string parsing (#2841) (#2849) 2021-06-21 12:40:28 +02:00
__init__.py Initial commit 2020-03-09 09:11:07 +00:00