From 1e575c84b2fd805fad3a76d9bc13773aec6d01cf Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Wed, 5 Apr 2023 15:35:47 +0200 Subject: [PATCH] ajout_attibution de droits --- Update_SplunkV2.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Update_SplunkV2.yml b/Update_SplunkV2.yml index 2a58bab..5760b00 100644 --- a/Update_SplunkV2.yml +++ b/Update_SplunkV2.yml @@ -18,6 +18,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" @@ -49,6 +52,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" @@ -122,6 +128,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"