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
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
..
action Bump version to 2.0.0 (#1369) 2020-11-26 14:26:36 +01:00
become <plugin_type>: -> name: (#1541) 2021-01-12 07:12:03 +01:00
cache <plugin_type>: -> name: (#1541) 2021-01-12 07:12:03 +01:00
callback Update ansible-logstash-callback (#641) 2021-01-24 21:00:55 +01:00
connection <plugin_type>: -> name: (#1541) 2021-01-12 07:12:03 +01:00
doc_fragments Feature/ldap gssapi sasl authentication (#1595) 2021-01-27 08:15:38 +01:00
filter Added filter plugin lists_mergeby. Fix #249 (#604) 2020-12-04 09:32:42 -05:00
inventory update scaleway zones (#1690) 2021-01-28 12:51:07 +01:00
lookup Add yaml support to passwordstore. (#1681) 2021-01-28 09:24:28 +01:00
module_utils Add no_log to some module arguments (#1725) 2021-02-04 21:02:21 +01:00
modules parted: fix regex for version match and partition size output (#1695) 2021-02-05 07:21:57 +01:00