diff --git a/lib/ansible/plugins/lookup/fileglob.py b/lib/ansible/plugins/lookup/fileglob.py index 3030c8bdb2..3f988d9991 100644 --- a/lib/ansible/plugins/lookup/fileglob.py +++ b/lib/ansible/plugins/lookup/fileglob.py @@ -18,7 +18,8 @@ DOCUMENTATION = """ required: True notes: - 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 = """