From 0c588c6ab157a01306e7099c6d33fab2bf2d3dd1 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Thu, 30 Mar 2023 16:41:42 +0200 Subject: [PATCH] test 01 --- Update_Splunk_UF.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Update_Splunk_UF.yml b/Update_Splunk_UF.yml index 28ee80c..bf20fdd 100644 --- a/Update_Splunk_UF.yml +++ b/Update_Splunk_UF.yml @@ -16,10 +16,13 @@ - name: Desactiver le démarrage automatique shell: "/opt/splunkforwarder/bin/splunk disable boot-start" - - name: Arrêter le service Splunk - systemd: - name: splunk - state: stopped + - name: Desactiver le démarrage automatique + shell: "/opt/splunkforwarder/bin/splunk stop" + + #- name: Arrêter le service Splunk + #systemd: + #name: splunk + #state: stopped - name: Mettre à jour Splunk shell: "/opt/splunkforwarder/bin/splunk upgrade --accept-license --answer-yes"