From 622584a280b2057b7320ee720a2a594345731523 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Fri, 21 Apr 2023 16:23:53 +0200 Subject: [PATCH] add reboot, and clean Restart splunk --- Deleted_Splunk.yml | 3 +++ Restart_Splunk.yml | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Deleted_Splunk.yml b/Deleted_Splunk.yml index d13cb55..eddaf7b 100644 --- a/Deleted_Splunk.yml +++ b/Deleted_Splunk.yml @@ -31,3 +31,6 @@ with_items: - /etc/init.d/splunk - /etc/systemd/system/splunk.service + + - name: "Reboot VM" + shell: reboot diff --git a/Restart_Splunk.yml b/Restart_Splunk.yml index 9ae1ffb..2f8366a 100644 --- a/Restart_Splunk.yml +++ b/Restart_Splunk.yml @@ -8,7 +8,4 @@ command: "{{ splunk_exec }} restart" - name: "Start Splunk via cli" - command: "{{ splunk_exec_uf }} restart" - - - name: "Reboot VM" - shell: reboot \ No newline at end of file + command: "{{ splunk_exec_uf }} restart" \ No newline at end of file