diff --git a/plugins/lookup/filetree.py b/plugins/lookup/filetree.py index 3df799213e..53f43b39cb 100644 --- a/plugins/lookup/filetree.py +++ b/plugins/lookup/filetree.py @@ -88,8 +88,12 @@ _raw: description: The permissions the resulting file or directory. type: str 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 + choices: [directory, file, link] owner: description: Name of the user that owns the file/directory. type: raw