This commit is contained in:
Shankar Mounesh
2022-06-12 20:46:58 +05:30
parent f2c302b891
commit 163bcb9786
+12 -9
View File
@@ -38,15 +38,6 @@
- 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"