From 8aa431658be07bc5ece07312cd600c1f5d5a5663 Mon Sep 17 00:00:00 2001 From: Shankar Mounesh Date: Sun, 12 Jun 2022 18:32:10 +0530 Subject: [PATCH] added reboot cron job --- proxmox.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/proxmox.yml b/proxmox.yml index 9857bfe..50973ce 100644 --- a/proxmox.yml +++ b/proxmox.yml @@ -41,6 +41,10 @@ group: root mode: 0440 - - name: reboot the machine - ansible.builtin.shell: reboot + - name: add reboot cronjob + cron: + name: reboot machine every sunday + minutes: "0" + user: ansible + job: "rebbot"