Better document the return type of the fileglob filter (#52801)
https://github.com/ansible/ansible/pull/44986 Fixes #33465 Thanks to DaveB93 for the suggestion.
This commit is contained in:
parent
183823012b
commit
b3a3328ea6
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ DOCUMENTATION = """
|
||||||
- Patterns are only supported on files, not directory/paths.
|
- Patterns are only supported on files, not directory/paths.
|
||||||
- Matching is against local system files on the Ansible controller.
|
- Matching is against local system files on the Ansible controller.
|
||||||
To iterate a list of files on a remote node, use the M(find) module.
|
To iterate a list of files on a remote node, use the M(find) module.
|
||||||
|
- Returns a string list of paths joined by commas, or an empty list if no files match. For a 'true list' pass C(wantlist=True) to the lookup.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
EXAMPLES = """
|
EXAMPLES = """
|
||||||
|
|
Loading…
Reference in a new issue