add Copy file

master
JocelynPa 3 years ago
parent e80da6bf0f
commit 9a18aace2f

@ -9,6 +9,15 @@
become: yes
register: pre_existing_splunk_exec
- name: "Copy source Splunk"
tasks:
- name: "Copy file"
copy:
src: "{{ repo_build_location }}"
dest: "{{ splunk_build_location }}"
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) }}"

@ -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) }}"

Loading…
Cancel
Save