|
|
|
|
@ -9,6 +9,15 @@
|
|
|
|
|
become: yes
|
|
|
|
|
register: pre_existing_splunk_exec
|
|
|
|
|
|
|
|
|
|
- name: "Copy source SplunkForwarder"
|
|
|
|
|
tasks:
|
|
|
|
|
- name: "Copy file"
|
|
|
|
|
copy:
|
|
|
|
|
src: "{{ repo_build_location_uf }}"
|
|
|
|
|
dest: "{{ splunk_build_location_uf }}"
|
|
|
|
|
remote_src: True
|
|
|
|
|
delegate_to: "{{ host_repo }}"
|
|
|
|
|
|
|
|
|
|
- name: "Set splunk install fact"
|
|
|
|
|
set_fact:
|
|
|
|
|
splunk_install: "{{ not pre_existing_splunk_exec.stat.exists | default(True) }}"
|
|
|
|
|
|