diff --git a/plugins/lookup/filetree.py b/plugins/lookup/filetree.py index 24e0c20eea..eee643952b 100644 --- a/plugins/lookup/filetree.py +++ b/plugins/lookup/filetree.py @@ -80,8 +80,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