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