From 551b0b3e6c324d0081844575affd878ac62e8992 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Wed, 5 Apr 2023 11:03:36 +0200 Subject: [PATCH] Change tasks extraction --- Update_SplunkV2.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Update_SplunkV2.yml b/Update_SplunkV2.yml index 410399e..2fa437d 100644 --- a/Update_SplunkV2.yml +++ b/Update_SplunkV2.yml @@ -11,12 +11,11 @@ shell: "/opt/splunk/bin/splunk stop" become: yes - - name: Décompresser le fichier .tgz + - name: Extraire le fichier d'installation de Splunk unarchive: src: "/tmp/splunk-{{ splunk_version }}.tgz" - dest: /opt/splunk/ + dest: "/opt" remote_src: yes - copy: no - name: Mettre à jour Splunk shell: "/opt/splunk/bin/splunk start --accept-license --answer-yes --no-prompt --restart"