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] 0b13c1eb45
parted: fix regex for version match and partition size output (#1695) (#1731)
* 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:46:15 +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
dpkg_divert.py
facter.py
filesystem.py module filesystem: partially fix idempotency issue #1457 (resizefs) (#1478) (#1719) 2021-02-03 10:42:21 +01:00
gconftool2.py
interfaces_file.py
iptables_state.py
java_cert.py
java_keystore.py
kernel_blacklist.py
launchd.py
lbu.py
listen_ports_facts.py
locale_gen.py
lvg.py
lvol.py
make.py changed make parameter from --question to -q (#1574) (#1581) 2021-01-03 13:55:58 +01:00
mksysb.py
modprobe.py
nosh.py
ohai.py
open_iscsi.py
openwrt_init.py
osx_defaults.py
pam_limits.py
pamd.py
parted.py parted: fix regex for version match and partition size output (#1695) (#1731) 2021-02-05 07:46:15 +01:00
pids.py
puppet.py
python_requirements_facts.py
python_requirements_info.py
runit.py
sefcontext.py
selinux_permissive.py
selogin.py
seport.py
shutdown.py
solaris_zone.py
svc.py
syspatch.py
sysupgrade.py
timezone.py
ufw.py
vdo.py
xfconf.py
xfs_quota.py