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/modules
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
..
cloud [backport][stable-2] proxmox_kvm: Fix ZFS device string parsing (#2841) (#2849) 2021-06-21 12:40:28 +02:00
database Remove postgresql content for 2.0.0 (#1355) 2020-11-24 09:01:50 +01:00
identity Added modules ipa_otpconfig and ipa_otptoken (#2122) (#2219) 2021-04-11 15:53:33 +02:00
messaging Move modules and module_utils unit tests to correct place (#81) 2020-03-31 10:42:38 +02:00
monitoring StatsD Module (#1793) (#1842) 2021-02-16 12:09:58 +01:00
net_tools nmcli: Compare MAC addresses case insensitively (#2416) (#2424) 2021-05-03 08:08:10 +02:00
notification move conversion of data to json in slack API handling (#1101) 2020-10-19 10:58:14 +03:00
packaging npm - fix updating version specific modules (#2830) (#2838) 2021-06-18 22:50:28 +02:00
remote_management add new module xcc_redfish_command to manage Lenovo servers using Redfish APIs (#2007) (#2095) 2021-03-24 16:43:11 +01:00
source_control Bugfix: PyGithub does not support explicit port in base_url (#2204) (#2215) 2021-04-09 12:16:29 +02:00
storage sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
system ModuleHelper - also uses LC_ALL to force language (#2731) (#2737) 2021-06-08 10:54:46 +02:00
web_infrastructure Jenkins build module (#745) (#1957) 2021-03-04 08:27:10 +01:00
__init__.py Move modules and module_utils unit tests to correct place (#81) 2020-03-31 10:42:38 +02:00
conftest.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
utils.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00