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/system
patchback[bot] a216f15dd9
parted: fix regex for version match and partition size output (#1695) (#1732)
* Fix 2 regex in parted related to parted version string and to parsing partition size output.

* Added changelog fragment.

* Updated changelog as per recommendation.

* Fix the regex matching the parted version. The space character at the end of the string may or may not be always present

* provided sample version output and corrected regex to match

* add/correct changelog fragment

* split parted_version function to allow creating a test unit

* test unit for parted version info

* ansible-test sanity fixes

* review fix

* Update changelogs/fragments/1695-parted-updatedregex.yaml

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

* comment fixes

* better function name

* Update plugins/modules/system/parted.py

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

* comment fixes

Co-authored-by: Claude Robitaille <claude@cbcr.me>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 43da5b88db)

Co-authored-by: Anatoly Pugachev <matorola@gmail.com>
2021-02-05 07:51:43 +01:00
..
aix_devices.py Tidy up validate-modules:doc-required-mismatch (#1415) 2020-11-28 14:06:28 +01:00
aix_filesystem.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
aix_inittab.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
aix_lvg.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
aix_lvol.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
alternatives.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
awall.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
beadm.py Unbreak beadm module (#1105) 2020-10-31 13:51:10 +01:00
capabilities.py [capabilities] fix for a newer versions of libcap (#1061) 2020-10-16 21:03:54 +02:00
cronvar.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
crypttab.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
dconf.py dconf: Code refactor (#1585) 2021-01-21 14:11:40 +01:00
dpkg_divert.py Add version_added for all new features (#214) 2020-06-13 15:01:19 +02:00
facter.py Added Arguments for Facter module (#768) 2020-11-23 18:59:09 +01:00
filesystem.py module filesystem: partially fix idempotency issue #1457 (resizefs) (#1478) (#1720) 2021-02-03 10:42:29 +01:00
gconftool2.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
interfaces_file.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
iptables_state.py iptables_state: fix race condition between module and its action plugin (#1140) 2020-10-20 20:27:37 +02:00
java_cert.py Fix boolean defaults. (#1343) 2020-11-23 11:14:43 +00:00
java_keystore.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
kernel_blacklist.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
launchd.py launchd: Handle deprecated APIs in plistlib (#1554) 2020-12-30 11:25:32 +05:30
lbu.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
listen_ports_facts.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
locale_gen.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
lvg.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
lvol.py Fix idempotent issue when using lvol with %VG or %PVS size options and VG is fully allocated (#229) 2020-11-09 08:39:34 +01:00
make.py added jobs parameter to make module (#1550) 2021-01-16 22:12:45 +01:00
mksysb.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
modprobe.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
nosh.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
ohai.py Fix M(). (#591) 2020-06-29 14:59:15 +02:00
open_iscsi.py Fix boolean defaults. (#1343) 2020-11-23 11:14:43 +00:00
openwrt_init.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
osx_defaults.py Bugfix: Fix parsing array values from osx_defaults (#358) 2020-12-09 08:29:58 +03:00
pam_limits.py pam_limits: adds check mode and diff mode (#1575) 2021-01-03 13:32:54 +01:00
pamd.py pamd - fixed bug (#1538) 2021-01-03 11:38:04 +01:00
parted.py parted: fix regex for version match and partition size output (#1695) (#1732) 2021-02-05 07:51:43 +01:00
pids.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
puppet.py Fix boolean defaults. (#1343) 2020-11-23 11:14:43 +00:00
python_requirements_facts.py Initial commit 2020-03-09 09:11:07 +00:00
python_requirements_info.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
runit.py Tidy up validate-modules:no-default-for-required-parameter and other cases (#1423) 2020-12-01 21:28:40 +01:00
sefcontext.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
selinux_permissive.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
selogin.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
seport.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
shutdown.py New module: shutdown (#700) 2020-08-11 17:54:41 +02:00
solaris_zone.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
ssh_config.py ssh_config: new module (#1640) 2021-01-28 07:26:48 +01:00
svc.py Fix boolean defaults. (#1343) 2020-11-23 11:14:43 +00:00
syspatch.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
sysrc.py New sysrc module for managing rc files on FreeBSD (#1460) 2021-01-16 14:14:23 +01:00
sysupgrade.py sysupgrade: new module (#341) 2020-08-18 09:10:41 +02:00
timezone.py Use platform.system for Darwin comparisons (#945) 2020-09-28 08:12:38 +02:00
ufw.py Fix boolean defaults. (#1343) 2020-11-23 11:14:43 +00:00
vdo.py Fix boolean defaults. (#1343) 2020-11-23 11:14:43 +00:00
xfconf.py xfconf: add return values and expand test coverage (#1419) 2020-12-12 09:07:30 +01:00
xfs_quota.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00