parted: fix return value documentation (#406)

* parted: fix return value documentation (#362)

* changelog entry not necessary for documentation fixes, removed
pull/415/head
Robert Osowiecki 2020-05-25 12:35:46 +02:00 committed by GitHub
parent ece18b756b
commit b00ee3b807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

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