From b00ee3b807a5f9faed1078aa0462475de7c7c06a Mon Sep 17 00:00:00 2001 From: Robert Osowiecki Date: Mon, 25 May 2020 12:35:46 +0200 Subject: [PATCH] parted: fix return value documentation (#406) * parted: fix return value documentation (#362) * changelog entry not necessary for documentation fixes, removed --- plugins/modules/system/parted.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/modules/system/parted.py b/plugins/modules/system/parted.py index 0aaacf5ad9..513cc50a70 100644 --- a/plugins/modules/system/parted.py +++ b/plugins/modules/system/parted.py @@ -108,12 +108,15 @@ partition_info: returned: success type: complex contains: - device: + disk: description: Generic device information. type: dict partitions: description: List of device partitions. type: list + script: + description: parted script executed by module + type: str sample: { "disk": { "dev": "/dev/sdb", @@ -140,7 +143,8 @@ partition_info: "name": "", "num": 2, "size": 4.0 - }] + }], + "script": "unit KiB print " } '''