parted: proper fix for change of partition label case (#594) (#986)

* parted: proper fix for change of partition label case
calling mkpart even when partition existed before mklabel call, fixes #522

* changelog fragment for parted fix #522

* Update changelogs/fragments/522-parted_change_label.yml

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

* typo in comment

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 4931fb2681)

Co-authored-by: Robert Osowiecki <robert.osowiecki@gmail.com>
This commit is contained in:
patchback[bot] 2020-09-29 06:08:33 +02:00 committed by GitHub
commit d7c4849473
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 2 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- "parted - fix creating partition when label is changed (https://github.com/ansible-collections/community.general/issues/522)."