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:
John R Barker 2019-02-22 10:23:15 +00:00 committed by GitHub
parent 183823012b
commit b3a3328ea6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = """