master
JocelynPa 3 years ago
parent e6f289b5ea
commit 34a5da2996

@ -0,0 +1,10 @@
- name: "Copy source Splunk"
hosts: all_splunk_instances
tasks:
- name: "Copy file"
copy:
src: "{{ repo_build_location }}"
dest: "{{ splunk_build_location }}"
remote_src: True
delegate_to: "{{ host_repo }}"
become: yes

@ -9,17 +9,6 @@
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 }}"
become: yes
- name: "Set splunk install fact"
set_fact:
splunk_install: "{{ not pre_existing_splunk_exec.stat.exists | default(True) }}"

Loading…
Cancel
Save