add reboot, and clean Restart splunk

master
JocelynPa 3 years ago
parent e9628c54d1
commit 622584a280

@ -31,3 +31,6 @@
with_items: with_items:
- /etc/init.d/splunk - /etc/init.d/splunk
- /etc/systemd/system/splunk.service - /etc/systemd/system/splunk.service
- name: "Reboot VM"
shell: reboot

@ -8,7 +8,4 @@
command: "{{ splunk_exec }} restart" command: "{{ splunk_exec }} restart"
- name: "Start Splunk via cli" - name: "Start Splunk via cli"
command: "{{ splunk_exec_uf }} restart" command: "{{ splunk_exec_uf }} restart"
- name: "Reboot VM"
shell: reboot
Loading…
Cancel
Save