diff --git a/proxmox.yml b/proxmox.yml index 61df5e5..7776ab7 100644 --- a/proxmox.yml +++ b/proxmox.yml @@ -34,19 +34,10 @@ apt: name: vim-nox state: absent - + - name: dist upgrade apt: upgrade=dist - - - name: add reboot cronjob - cron: - name: reboot machine every sunday - become: true - minute: "30" - hour: "1" - user: root - job: "reboot" - + - name: add ansible-pull cron job cron: name: ansible auto-provision @@ -55,3 +46,15 @@ user: root job: "ansible-pull -o -U https://git.bitsathy.ac.in/ShankarMounesh/" + - name: add reboot cronjob + cron: + name: reboot machine every sunday + become: true + minute: "30" + hour: "1" + weekday: "0" + user: root + job: "/usr/sbin/reboot" + + +