fileglob
Collection: community.general
Full Name: parallax.community.general.fileglob
Aliases: community.general.fileglob, fileglob
Controller module — runs on the local controller, not on remote hosts.
Synopsis
List controller-side files matching a glob pattern
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| paths | string | yes | Path(s) to search for files | |
| patterns | string | * | Pattern(s) to match files against | |
| recurse | bool | false | Whether to search recursively |
Example
- name: List the certificates to upload
fileglob:
paths: files/certs
patterns: "*.pem"