X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Ffetch-push%2Ffetch.yml;fp=playbooks%2Ffetch-push%2Ffetch.yml;h=37510a48052a7c4ac41b4e33221883b7aaa7eb06;hb=31f44ba329b3dc6b0c04453aa411e1038521350c;hp=0000000000000000000000000000000000000000;hpb=e6da9ae4b47861c99259cad01ee252d684f17f63;p=ansible.git diff --git a/playbooks/fetch-push/fetch.yml b/playbooks/fetch-push/fetch.yml new file mode 100644 index 0000000..37510a4 --- /dev/null +++ b/playbooks/fetch-push/fetch.yml @@ -0,0 +1,9 @@ +- name: "Fetch {{ file }}" + hosts: "{{ hosts | default('all') }}" + gather_facts: false + tasks: + - name: Fetch files + fetch: + src: "{{ file }}" + dest: "{{ start_dir }}/{{ inventory_hostname }}/" + flat: yes