|
|
|
|
@ -11,12 +11,11 @@
|
|
|
|
|
shell: "/opt/splunk/bin/splunk stop"
|
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
|
|
- name: Décompresser le fichier .tgz
|
|
|
|
|
- name: Extraire le fichier d'installation de Splunk
|
|
|
|
|
unarchive:
|
|
|
|
|
src: "/tmp/splunk-{{ splunk_version }}.tgz"
|
|
|
|
|
dest: /opt/splunk/
|
|
|
|
|
dest: "/opt"
|
|
|
|
|
remote_src: yes
|
|
|
|
|
copy: no
|
|
|
|
|
|
|
|
|
|
- name: Mettre à jour Splunk
|
|
|
|
|
shell: "/opt/splunk/bin/splunk start --accept-license --answer-yes --no-prompt --restart"
|
|
|
|
|
|