diff --git a/Update_Splunk_UF.yml b/Update_Splunk_UF.yml index f39195a..a694104 100644 --- a/Update_Splunk_UF.yml +++ b/Update_Splunk_UF.yml @@ -25,7 +25,7 @@ #state: stopped - 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" + shell: "/opt/splunkforwarder/bin/splunk stop; /opt/splunkforwarder/bin/splunk start --accept-license --answer-yes --no-prompt --answer-accept-changes && /opt/splunkforwarder/bin/splunk enable boot-start -user splunk" become: yes #- name: Activer le démarrage automatique