|
|
|
@ -14,7 +14,7 @@
|
|
|
|
- name: Copier configuration distributsearch
|
|
|
|
- name: Copier configuration distributsearch
|
|
|
|
copy:
|
|
|
|
copy:
|
|
|
|
src: "{{ playbook_dir }}/Apps_for_DS/For_MC/local/distsearch.conf"
|
|
|
|
src: "{{ playbook_dir }}/Apps_for_DS/For_MC/local/distsearch.conf"
|
|
|
|
dest: /opt/splunk/etc/apps/system/local/
|
|
|
|
dest: /opt/splunk/etc/apps/system/local/distsearch.conf
|
|
|
|
owner: splunk
|
|
|
|
owner: splunk
|
|
|
|
group: splunk
|
|
|
|
group: splunk
|
|
|
|
|
|
|
|
|
|
|
|
@ -28,4 +28,4 @@
|
|
|
|
- name: "Restart Splunk via cli"
|
|
|
|
- name: "Restart Splunk via cli"
|
|
|
|
command: "{{ splunk_exec }} restart"
|
|
|
|
command: "{{ splunk_exec }} restart"
|
|
|
|
become: yes
|
|
|
|
become: yes
|
|
|
|
become_user: "{{ splunk_user }}"
|
|
|
|
become_user: "{{ privileged_user }}"
|