mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
filetree lookup: document RETURN value state (#11997)
* Clarify 'state' parameter description in filetree.py Updated the description for the 'state' parameter to clarify entry types and their meanings. * Apply suggestion from felixfontein related to description Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -88,8 +88,12 @@ _raw:
|
|||||||
description: The permissions the resulting file or directory.
|
description: The permissions the resulting file or directory.
|
||||||
type: str
|
type: str
|
||||||
state:
|
state:
|
||||||
description: TODO.
|
description:
|
||||||
|
- Type of the resulting file or directory.
|
||||||
|
- V(directory) for a directory, V(file) for a regular file, V(link) for a symbolic link.
|
||||||
|
- Other file types are skipped and not returned.
|
||||||
type: str
|
type: str
|
||||||
|
choices: [directory, file, link]
|
||||||
owner:
|
owner:
|
||||||
description: Name of the user that owns the file/directory.
|
description: Name of the user that owns the file/directory.
|
||||||
type: raw
|
type: raw
|
||||||
|
|||||||
Reference in New Issue
Block a user