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
Anatoly Pugachev 43da5b88db
parted: fix regex for version match and partition size output (#1695)
* 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>
2021-02-05 07:21:57 +01:00
..
aix_devices.py
aix_filesystem.py
aix_inittab.py
aix_lvg.py
aix_lvol.py
alternatives.py
awall.py
beadm.py
capabilities.py
cronvar.py
crypttab.py
dconf.py dconf: Code refactor (#1585) 2021-01-21 14:11:40 +01:00
dpkg_divert.py
facter.py
filesystem.py module filesystem: partially fix idempotency issue #1457 (resizefs) (#1478) 2021-02-03 07:54:04 +01:00
gconftool2.py
interfaces_file.py
iptables_state.py
java_cert.py
java_keystore.py
kernel_blacklist.py
launchd.py launchd: Handle deprecated APIs in plistlib (#1554) 2020-12-30 11:25:32 +05:30
lbu.py
listen_ports_facts.py
locale_gen.py
lvg.py
lvol.py
make.py added jobs parameter to make module (#1550) 2021-01-16 22:12:45 +01:00
mksysb.py
modprobe.py
nosh.py
ohai.py
open_iscsi.py
openwrt_init.py
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) 2021-02-05 07:21:57 +01:00
pids.py
puppet.py
python_requirements_facts.py
python_requirements_info.py
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
selinux_permissive.py
selogin.py
seport.py
shutdown.py
solaris_zone.py
ssh_config.py ssh_config: new module (#1640) 2021-01-28 07:26:48 +01:00
svc.py
syspatch.py
sysrc.py New sysrc module for managing rc files on FreeBSD (#1460) 2021-01-16 14:14:23 +01:00
sysupgrade.py
timezone.py
ufw.py
vdo.py
xfconf.py xfconf: add return values and expand test coverage (#1419) 2020-12-12 09:07:30 +01:00
xfs_quota.py