|
|
|
@ -7,7 +7,17 @@
|
|
|
|
owner: splunk
|
|
|
|
owner: splunk
|
|
|
|
group: splunk
|
|
|
|
group: splunk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Stop Splunk via cli"
|
|
|
|
|
|
|
|
command: "{{ splunk_exec_uf }} stop"
|
|
|
|
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
become_user: "{{ splunk_user }}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Enable boot-start Splunk via cli"
|
|
|
|
|
|
|
|
command: "{{ splunk_exec_uf }} enable boot-start"
|
|
|
|
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
become_user: "{{ privileged_user }}"
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Start Splunk via cli"
|
|
|
|
- name: "Start Splunk via cli"
|
|
|
|
command: "{{ splunk_exec_uf }} restart"
|
|
|
|
command: "{{ splunk_exec_uf }} start"
|
|
|
|
become: yes
|
|
|
|
become: yes
|
|
|
|
become_user: "{{ privileged_user }}"
|
|
|
|
become_user: "{{ privileged_user }}"
|