|
|
|
@ -13,6 +13,9 @@
|
|
|
|
dest: "/opt"
|
|
|
|
dest: "/opt"
|
|
|
|
remote_src: yes
|
|
|
|
remote_src: yes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Desactiver le démarrage automatique
|
|
|
|
|
|
|
|
shell: "/opt/splunkforwarder/bin/splunk disable boot-start"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Arrêter le service Splunk
|
|
|
|
- name: Arrêter le service Splunk
|
|
|
|
systemd:
|
|
|
|
systemd:
|
|
|
|
name: splunk
|
|
|
|
name: splunk
|
|
|
|
@ -24,6 +27,9 @@
|
|
|
|
chdir: "/opt/splunkforwarder/bin"
|
|
|
|
chdir: "/opt/splunkforwarder/bin"
|
|
|
|
become: yes
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Activer le démarrage automatique
|
|
|
|
|
|
|
|
shell: "/opt/splunkforwarder/bin/splunk enable boot-start"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Redémarrer le service Splunk
|
|
|
|
- name: Redémarrer le service Splunk
|
|
|
|
systemd:
|
|
|
|
systemd:
|
|
|
|
name: splunk
|
|
|
|
name: splunk
|
|
|
|
|