added reboot cron job

This commit is contained in:
Shankar Mounesh
2022-06-12 18:32:10 +05:30
parent 9ff48de7fc
commit 8aa431658b
+6 -2
View File
@@ -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"