From d9bfec718bf0a5578a4bba2dc28d891fb2275973 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Thu, 11 May 2023 14:37:19 +0200 Subject: [PATCH] add reboot --- Deleted_SplunkForwarder.yml | 5 ++++- Deleted_SplunkHeavyForwarder.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Deleted_SplunkForwarder.yml b/Deleted_SplunkForwarder.yml index 88c0b6f..ecdcd20 100644 --- a/Deleted_SplunkForwarder.yml +++ b/Deleted_SplunkForwarder.yml @@ -33,4 +33,7 @@ - /etc/systemd/system/Splunk.service - name: "Shutdown VM" - shell: shutdown now + reboot: + reboot_timeout: 300 + async: 0 + poll: 0 diff --git a/Deleted_SplunkHeavyForwarder.yml b/Deleted_SplunkHeavyForwarder.yml index c7a8883..bc7c489 100644 --- a/Deleted_SplunkHeavyForwarder.yml +++ b/Deleted_SplunkHeavyForwarder.yml @@ -33,4 +33,7 @@ - /etc/systemd/system/splunk.service - name: "Shutdown VM" - shell: shutdown -r now + reboot: + reboot_timeout: 300 + async: 0 + poll: 0