From ed05e19272aa4f04e20e631ae178de7f4a614526 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Thu, 30 Mar 2023 16:47:11 +0200 Subject: [PATCH] =?UTF-8?q?autre=20m=C3=A9thode=20pour=20les=20UF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Update_Splunk_UF.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Update_Splunk_UF.yml b/Update_Splunk_UF.yml index bf20fdd..0a21972 100644 --- a/Update_Splunk_UF.yml +++ b/Update_Splunk_UF.yml @@ -24,10 +24,8 @@ #name: splunk #state: stopped - - name: Mettre à jour Splunk - shell: "/opt/splunkforwarder/bin/splunk upgrade --accept-license --answer-yes" - args: - chdir: "/opt/splunkforwarder/bin" + - name: Mettre à jour le Splunk Universal Forwarder + shell: "/opt/splunkforwarder/bin/splunk stop; /opt/splunkforwarder/bin/splunk start --accept-license --answer-yes --no-prompt --answer-accept-changes" become: yes - name: Activer le démarrage automatique