diff --git a/Update_Splunk_UF.yml b/Update_Splunk_UF.yml index ad5acbf..5294964 100644 --- a/Update_Splunk_UF.yml +++ b/Update_Splunk_UF.yml @@ -12,14 +12,14 @@ state: stopped - name: Sauvegarder la configuration et les données - shell: /opt/splunk/bin/splunk cmd splunkd print-paths --propagation none + shell: /opt/splunkforwarder/bin/splunk cmd splunkd print-paths --propagation none register: splunk_paths - name: Installer la nouvelle version de Splunk unarchive: src: /tmp/splunk-{{ splunk_version }}.tgz dest: /opt - creates: /opt/splunk-{{ splunk_version }} + creates: /opt/splunkforwarder-{{ splunk_version }} - name: Redémarrer le service Splunk systemd: