arillso.system.environment_files lookup – returns a curated files list
Note
This lookup plugin is part of the arillso.system collection (version 1.0.5).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install arillso.system.
To use it in a playbook, specify: arillso.system.environment_files.
Synopsis
Takes a files list and returns it curated.
Terms
Parameter |
Comments |
|---|---|
First item is the list of files, second is the patterns dict. |
Examples
# Example usage in a playbook
- name: Curate files based on patterns
debug:
msg: "{{ lookup('arillso.system.environment_files', files_list, patterns_dict) }}"
Return Value
Key |
Description |
|---|---|
A curated list of files matching the patterns. Returned: success |