parted: fix return value documentation (#406)

* parted: fix return value documentation (#362)

* changelog entry not necessary for documentation fixes, removed
This commit is contained in:
Robert Osowiecki
2020-05-25 12:35:46 +02:00
committed by GitHub
parent ece18b756b
commit b00ee3b807

View File

@@ -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 "
}
'''