|
|
|
|
@ -16,6 +16,14 @@
|
|
|
|
|
- name: Desactiver le démarrage automatique
|
|
|
|
|
shell: "/opt/splunkforwarder/bin/splunk disable boot-start"
|
|
|
|
|
|
|
|
|
|
- name: Supprimer les entrées de démarrage automatique de Splunk
|
|
|
|
|
file:
|
|
|
|
|
path: "{{ item }}"
|
|
|
|
|
state: absent
|
|
|
|
|
with_items:
|
|
|
|
|
- /etc/init.d/Splunkforwarder
|
|
|
|
|
- /etc/systemd/system/Splunk.service
|
|
|
|
|
|
|
|
|
|
#- name: Arrêt de splunk
|
|
|
|
|
#shell: "/opt/splunkforwarder/bin/splunk stop"
|
|
|
|
|
|
|
|
|
|
|