From ebe046ebae3b732e9b63b08eb662ddca8d1ec37f Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Tue, 7 Mar 2023 17:25:33 +0100 Subject: [PATCH] test in copy files --- Copy_Files.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Copy_Files.yml b/Copy_Files.yml index 0dd3149..e2eb3dd 100644 --- a/Copy_Files.yml +++ b/Copy_Files.yml @@ -1,9 +1,10 @@ -- name: "Copy source Splunk" - hosts: all_splunk_instances - tasks: - - name: "Copy" - get_url: - url: "{{ repo_build_location }}" - dest: "{{ splunk_build_location }}" +- name: Copier depuis repo become: yes - become_user: root \ No newline at end of file + 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