|
|
|
|
@ -28,8 +28,8 @@
|
|
|
|
|
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
|
|
|
|
|
shell: "/opt/splunkforwarder/bin/splunk enable boot-start"
|
|
|
|
|
#- name: Activer le démarrage automatique
|
|
|
|
|
#shell: "/opt/splunkforwarder/bin/splunk enable boot-start"
|
|
|
|
|
|
|
|
|
|
- name: Redémarrer le service Splunk
|
|
|
|
|
systemd:
|
|
|
|
|
|