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