Subject: [ansible-project] how to exclude directories when I use ansible fetch


Try:

--
 - hosts: 10.33.81.12
   vars:
    dir_src: "C:/Websites/citihabitats.com/"
    dir_dest: /tmp/fetched/
   tasks:
   - name: fetch nginx access and error log
     fetch:
       src:  "{{ dir_src }}/{{ item}}.config"
       dest: "{{ dir_dest }}/{{ inventory_hostname }}/"
       flat: yes
    register: fetch_output
     loop:
       - appsettings.beta
       - Web

On Thu, 13 Jun 2019 at 23:10, federico montaldo <[EMAIL PROTECTED]> wrote:

--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

--
To post to this group, send email to [EMAIL PROTECTED].