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
|
||||
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 "
|
||||
}
|
||||
'''
|
||||
|
||||
|
|
Loading…
Reference in a new issue