From 71d2c479c3110af3342319e2d0ba7e734add118b Mon Sep 17 00:00:00 2001 From: Danny de Kooker Date: Thu, 6 Jun 2024 18:16:41 +0200 Subject: [PATCH] . --- Maintenance/maint-reboot.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Maintenance/maint-reboot.yaml b/Maintenance/maint-reboot.yaml index ca0cb33..19a4dbe 100644 --- a/Maintenance/maint-reboot.yaml +++ b/Maintenance/maint-reboot.yaml @@ -5,8 +5,6 @@ tasks: - name: Reboot machine - reboot: - when: True - become: true - args: - - "--no-wall" \ No newline at end of file + ansible.builtin.reboot: + reboot_timeout: 3600 + msg: "Automatic reboot initiated" \ No newline at end of file