From 8ee7bbcfe6d5ac564aee129ed3c427b6c4bce373 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Mon, 6 Mar 2023 20:48:34 +0100 Subject: [PATCH] update --- Copy_Files.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) 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