mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Improve module docs (#11981)
* Fix _facts module documentation. * Get rid of some more 'type: complex'.
This commit is contained in:
@@ -51,56 +51,57 @@ EXAMPLES = r"""
|
||||
RETURN = r"""
|
||||
ansible_facts:
|
||||
description: Dictionary containing all the detailed information about the ZFS pool facts.
|
||||
returned: always
|
||||
type: complex
|
||||
returned: success
|
||||
type: dict
|
||||
contains:
|
||||
ansible_zfs_pools:
|
||||
description: ZFS pool facts.
|
||||
returned: always
|
||||
type: str
|
||||
returned: success
|
||||
type: list
|
||||
elements: dict
|
||||
sample:
|
||||
"allocated": "3.46G"
|
||||
"altroot": "-"
|
||||
"autoexpand": "off"
|
||||
"autoreplace": "off"
|
||||
"bootfs": "rpool/ROOT/openindiana"
|
||||
"cachefile": "-"
|
||||
"capacity": "6%"
|
||||
"comment": "-"
|
||||
"dedupditto": "0"
|
||||
"dedupratio": "1.00x"
|
||||
"delegation": "on"
|
||||
"expandsize": "-"
|
||||
"failmode": "wait"
|
||||
"feature@async_destroy": "enabled"
|
||||
"feature@bookmarks": "enabled"
|
||||
"feature@edonr": "enabled"
|
||||
"feature@embedded_data": "active"
|
||||
"feature@empty_bpobj": "active"
|
||||
"feature@enabled_txg": "active"
|
||||
"feature@extensible_dataset": "enabled"
|
||||
"feature@filesystem_limits": "enabled"
|
||||
"feature@hole_birth": "active"
|
||||
"feature@large_blocks": "enabled"
|
||||
"feature@lz4_compress": "active"
|
||||
"feature@multi_vdev_crash_dump": "enabled"
|
||||
"feature@sha512": "enabled"
|
||||
"feature@skein": "enabled"
|
||||
"feature@spacemap_histogram": "active"
|
||||
"fragmentation": "3%"
|
||||
"free": "46.3G"
|
||||
"freeing": "0"
|
||||
"guid": "15729052870819522408"
|
||||
"health": "ONLINE"
|
||||
"leaked": "0"
|
||||
"listsnapshots": "off"
|
||||
"name": "rpool"
|
||||
"readonly": "off"
|
||||
"size": "49.8G"
|
||||
"version": "-"
|
||||
- "allocated": "3.46G"
|
||||
"altroot": "-"
|
||||
"autoexpand": "off"
|
||||
"autoreplace": "off"
|
||||
"bootfs": "rpool/ROOT/openindiana"
|
||||
"cachefile": "-"
|
||||
"capacity": "6%"
|
||||
"comment": "-"
|
||||
"dedupditto": "0"
|
||||
"dedupratio": "1.00x"
|
||||
"delegation": "on"
|
||||
"expandsize": "-"
|
||||
"failmode": "wait"
|
||||
"feature@async_destroy": "enabled"
|
||||
"feature@bookmarks": "enabled"
|
||||
"feature@edonr": "enabled"
|
||||
"feature@embedded_data": "active"
|
||||
"feature@empty_bpobj": "active"
|
||||
"feature@enabled_txg": "active"
|
||||
"feature@extensible_dataset": "enabled"
|
||||
"feature@filesystem_limits": "enabled"
|
||||
"feature@hole_birth": "active"
|
||||
"feature@large_blocks": "enabled"
|
||||
"feature@lz4_compress": "active"
|
||||
"feature@multi_vdev_crash_dump": "enabled"
|
||||
"feature@sha512": "enabled"
|
||||
"feature@skein": "enabled"
|
||||
"feature@spacemap_histogram": "active"
|
||||
"fragmentation": "3%"
|
||||
"free": "46.3G"
|
||||
"freeing": "0"
|
||||
"guid": "15729052870819522408"
|
||||
"health": "ONLINE"
|
||||
"leaked": "0"
|
||||
"listsnapshots": "off"
|
||||
"name": "rpool"
|
||||
"readonly": "off"
|
||||
"size": "49.8G"
|
||||
"version": "-"
|
||||
name:
|
||||
description: ZFS pool name.
|
||||
returned: always
|
||||
returned: success
|
||||
type: str
|
||||
sample: rpool
|
||||
parsable:
|
||||
|
||||
Reference in New Issue
Block a user