From d0499c61e95854d0d59aa0bf1e1d37746dbb6076 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Wed, 5 Apr 2023 11:21:10 +0200 Subject: [PATCH] add modification des droits --- Update_SplunkV2.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Update_SplunkV2.yml b/Update_SplunkV2.yml index 2fa437d..45da610 100644 --- a/Update_SplunkV2.yml +++ b/Update_SplunkV2.yml @@ -17,6 +17,9 @@ dest: "/opt" remote_src: yes + - name: Attribution des droits + shell: "chown -R splunk:splunk /opt/splunk/*" + - name: Mettre à jour Splunk shell: "/opt/splunk/bin/splunk start --accept-license --answer-yes --no-prompt --restart"