|
|
|
|
@ -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
|
|
|
|
|
|