|
|
|
|
@ -9,15 +9,15 @@
|
|
|
|
|
become: yes
|
|
|
|
|
register: pre_existing_splunk_exec
|
|
|
|
|
|
|
|
|
|
- name: "Copy source SplunkForwarder"
|
|
|
|
|
- name: Copie de l'installation Splunk Forwarder
|
|
|
|
|
become: yes
|
|
|
|
|
become_user: root
|
|
|
|
|
hosts: all
|
|
|
|
|
tasks:
|
|
|
|
|
- name: "Copy file"
|
|
|
|
|
copy:
|
|
|
|
|
src: "{{ repo_build_location_uf }}"
|
|
|
|
|
dest: "{{ splunk_build_location_uf }}"
|
|
|
|
|
remote_src: True
|
|
|
|
|
delegate_to: "{{ host_repo }}"
|
|
|
|
|
become: yes
|
|
|
|
|
- name: Copier la source
|
|
|
|
|
copy:
|
|
|
|
|
src: "{{ playbook_dir }}/Apps_for_Splunk/Source/splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz"
|
|
|
|
|
dest: "{{ splunk_build_location_uf }}"
|
|
|
|
|
|
|
|
|
|
- name: "Set splunk install fact"
|
|
|
|
|
set_fact:
|
|
|
|
|
|