On Mon, 19 Sep 2022 12:23:14 +0200 (CEST)
dulhaver via Ansible Project <ansible-project@googlegroups.com> wrote:

> ... does not localize the files I am looking for.
> 
>    - name: fetch all .env files to fetched
>      ansible.builtin.fetch:
>        src: /opt/db/postgres/bin/.pg*env
>        dest: fetched/
>        flat: true
>      become: yes

Find the files first. See
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/find_module.html

-- 
Vladimir Botka

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20220919123422.2b2f5b23%40gmail.com.

Attachment: pgpCAuNUyeGFc.pgp
Description: OpenPGP digital signature

Reply via email to