From a3953106e64380a2d70186faa8f19c55dfc4d7fb Mon Sep 17 00:00:00 2001 From: Robert Osowiecki Date: Wed, 17 Jun 2020 07:57:35 +0200 Subject: [PATCH] parted: update documentation, warn about possible loss of partition label (#522) (#525) --- plugins/modules/system/parted.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/modules/system/parted.py b/plugins/modules/system/parted.py index a93eaa36fd..aaeaa7f1fc 100644 --- a/plugins/modules/system/parted.py +++ b/plugins/modules/system/parted.py @@ -48,7 +48,9 @@ options: choices: [ s, B, KB, KiB, MB, MiB, GB, GiB, TB, TiB, '%', cyl, chs, compact ] default: KiB label: - description: Creates a new disk label. + description: + - Disk label type to use. + - If C(device) already contains different label, it will be changed to C(label) and any previous partitions will be lost. type: str choices: [ aix, amiga, bsd, dvh, gpt, loop, mac, msdos, pc98, sun ] default: msdos