You've already forked splunk-upgrade
13 lines
308 B
YAML
13 lines
308 B
YAML
|
|
---
|
||
|
|
- name: Stop Splunk
|
||
|
|
command: /opt/splunk/bin/splunk stop
|
||
|
|
become_user: splunk
|
||
|
|
|
||
|
|
- name: Start Splunk
|
||
|
|
command: /opt/splunk/bin/splunk start
|
||
|
|
become_user: splunk
|
||
|
|
|
||
|
|
- name: Start Splunk (No Warning)
|
||
|
|
command: /opt/splunk/bin/splunk start --accept-license --answer-yes --no-prompt
|
||
|
|
become_user: splunk
|