|
|
|
@ -9,13 +9,25 @@
|
|
|
|
become: yes
|
|
|
|
become: yes
|
|
|
|
register: pre_existing_splunk_exec
|
|
|
|
register: pre_existing_splunk_exec
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Copier la source"
|
|
|
|
#- name: "Copier la source"
|
|
|
|
|
|
|
|
#fetch:
|
|
|
|
|
|
|
|
#src: "http://10.10.30.12:3000/admingit/Splunk_Installation/src/branch/master/Apps_for_Splunk/Sources/splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz"
|
|
|
|
|
|
|
|
#dest: "{{ splunk_build_location_uf }}"
|
|
|
|
|
|
|
|
#flat: yes
|
|
|
|
|
|
|
|
#emote_src: yes
|
|
|
|
|
|
|
|
#become: yes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Fetch from Git
|
|
|
|
|
|
|
|
run_once: yes
|
|
|
|
fetch:
|
|
|
|
fetch:
|
|
|
|
src: "http://10.10.30.12:3000/admingit/Splunk_Installation/src/branch/master/Apps_for_Splunk/Sources/splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz"
|
|
|
|
src: "{{ playbook_dir }}/Apps_for_Splunk/Sources/splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz"
|
|
|
|
|
|
|
|
dest: "/tmp"
|
|
|
|
|
|
|
|
when: 10.10.30.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Copy to Splunk
|
|
|
|
|
|
|
|
copy:
|
|
|
|
|
|
|
|
src: "/tmp"
|
|
|
|
dest: "{{ splunk_build_location_uf }}"
|
|
|
|
dest: "{{ splunk_build_location_uf }}"
|
|
|
|
flat: yes
|
|
|
|
|
|
|
|
remote_src: yes
|
|
|
|
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Set splunk install fact"
|
|
|
|
- name: "Set splunk install fact"
|
|
|
|
set_fact:
|
|
|
|
set_fact:
|
|
|
|
|