diff --git a/Copy_Files.yml b/Copy_Files.yml index bdb2e54..07cd30a 100644 --- a/Copy_Files.yml +++ b/Copy_Files.yml @@ -1,11 +1,8 @@ - name: "Copy source Splunk" hosts: all_splunk_instances - tasks: - - name: "Copy file" - copy: - src: "{{ repo_build_location }}" - dest: "{{ splunk_build_location }}" - remote_src: True - delegate_to: "{{ host_repo }}" - become: yes - become_user: root \ No newline at end of file + fetch: + src: "{{ repo_build_location }}" + dest: "{{ splunk_build_location }}" + flat: yes + become: yes + become_user: root \ No newline at end of file