diff --git a/Copy_Files.yml b/Copy_Files.yml index e2eb3dd..dc677f2 100644 --- a/Copy_Files.yml +++ b/Copy_Files.yml @@ -1,10 +1,13 @@ - name: Copier depuis repo - become: yes - copy: - src: /tmp/splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz - dest: "{{ splunk_build_location_uf}}" - remote_src: yes - owner: admin - group: admin - mode: "0644" - delegate_to: 10.10.30.38 \ No newline at end of file + hosts: all + become: true + tasks: + - name: copy + copy: + src: /tmp/splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz + dest: "{{ splunk_build_location_uf}}" + remote_src: yes + owner: admin + group: admin + mode: "0644" + delegate_to: 10.10.30.38 \ No newline at end of file