You can create a playbook for copying your files from one node to another remote node.
Use three different modules
find - that uses patters and looks for the file you need to copy
set fact - sets a variable. These variables will be available to subsequent plays during an ansible-playbook run, but will not be saved across executions even if you use a fact cache.
copy files - this module copies files from one local or remote node to another remote node.
Playbook would look like this:
- name: find pass.Linux*
find: paths="/file/path/" recurse=yes patterns=".Linux*"
register: find_files
- name: set fact
set_fact:
all_files:
- "{{ find_files.files | map(attribute='path') | list }}"
when: find_files > 0
- name: copy files
copy:
src: "{{ item }}"
dest: /destination/
with_items: "{{ all_files }}"
when: find_files > 0