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"