Enhance the note about fileglob being local (#45398)

Made the note clearer and instructed to use find module for remote operations.
Relating to #34497
This commit is contained in:
zharalim 2018-09-17 23:00:41 +03:00 committed by Sandra McCann
parent 05840ffe16
commit 8526f63255

View file

@ -18,7 +18,8 @@ DOCUMENTATION = """
required: True required: True
notes: notes:
- Patterns are only supported on files, not directory/paths. - Patterns are only supported on files, not directory/paths.
- Matching is against local system files. - 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.
""" """
EXAMPLES = """ EXAMPLES = """