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