mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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:
parent
ece18b756b
commit
b00ee3b807
1 changed files with 6 additions and 2 deletions
|
@ -108,12 +108,15 @@ partition_info:
|
||||||
returned: success
|
returned: success
|
||||||
type: complex
|
type: complex
|
||||||
contains:
|
contains:
|
||||||
device:
|
disk:
|
||||||
description: Generic device information.
|
description: Generic device information.
|
||||||
type: dict
|
type: dict
|
||||||
partitions:
|
partitions:
|
||||||
description: List of device partitions.
|
description: List of device partitions.
|
||||||
type: list
|
type: list
|
||||||
|
script:
|
||||||
|
description: parted script executed by module
|
||||||
|
type: str
|
||||||
sample: {
|
sample: {
|
||||||
"disk": {
|
"disk": {
|
||||||
"dev": "/dev/sdb",
|
"dev": "/dev/sdb",
|
||||||
|
@ -140,7 +143,8 @@ partition_info:
|
||||||
"name": "",
|
"name": "",
|
||||||
"num": 2,
|
"num": 2,
|
||||||
"size": 4.0
|
"size": 4.0
|
||||||
}]
|
}],
|
||||||
|
"script": "unit KiB print "
|
||||||
}
|
}
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue