]> git.phdru.name Git - ansible.git/blob - playbooks/fetch-push/fetch.yml
Feat(playbooks/fetch-push): Fetch/push a list of files
[ansible.git] / playbooks / fetch-push / fetch.yml
1 - name: "Fetch files"
2   hosts: "{{ hosts | default('all') }}"
3   gather_facts: false
4   tasks:
5     - name: Fetch files
6       fetch:
7         src: "{{ item }}"
8         dest: "{{ start_dir }}/{{ inventory_hostname }}/"
9         flat: yes
10       loop: "{{ files.split(',') }}"