|
|
|
@ -9,4 +9,14 @@
|
|
|
|
src: "{{ playbook_dir }}/Apps_for_Splunk/01-Conf_deploy_client"
|
|
|
|
src: "{{ playbook_dir }}/Apps_for_Splunk/01-Conf_deploy_client"
|
|
|
|
dest: /opt/splunk/etc/apps/
|
|
|
|
dest: /opt/splunk/etc/apps/
|
|
|
|
owner: splunk
|
|
|
|
owner: splunk
|
|
|
|
group: splunk
|
|
|
|
group: splunk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Start Splunk via cli"
|
|
|
|
|
|
|
|
command: "{{ splunk_exec }} enable boot-start"
|
|
|
|
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
become_user: "{{ splunk_user }}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Start Splunk via cli"
|
|
|
|
|
|
|
|
command: "{{ splunk_exec }} start --accept-license --answer-yes --no-prompt"
|
|
|
|
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
become_user: "{{ splunk_user }}"
|