diff --git a/Update_Splunk_UF.yml b/Update_Splunk_UF.yml index d1ef795..f2807db 100644 --- a/Update_Splunk_UF.yml +++ b/Update_Splunk_UF.yml @@ -13,19 +13,19 @@ dest: "/opt" remote_src: yes - - name: Desactiver le démarrage automatique - shell: "/opt/splunkforwarder/bin/splunk disable boot-start" + #- name: Desactiver le démarrage automatique + #shell: "/opt/splunkforwarder/bin/splunk disable boot-start" - - name: Arrêt de splunk - shell: "/opt/splunkforwarder/bin/splunk stop" + #- name: Arrêt de splunk + #shell: "/opt/splunkforwarder/bin/splunk stop" - name: Attribution des droits shell: "chown -R splunk:splunk /opt/splunkforwarder/*" - #- name: Arrêter le service Splunk - #systemd: - #name: splunk - #state: stopped + - name: Arrêter le service Splunk + systemd: + name: splunk + 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 && /opt/splunkforwarder/bin/splunk enable boot-start -user splunk"