Ansible Module fileglob
Jump to navigation
Jump to search
External
Internal
Overview
A module that lists files matching a pattern. Patterns are only supported on files, not directory/paths. Matching is against local system files on the Ansible controller. Returns a string list of paths joined by commas, or an empty list if no files match. For a "true list" pass wantlist=True
to the lookup.
To iterate a list of files on a remote node, use the find module.