This commit is contained in:
Shankar Mounesh
2022-06-12 20:53:25 +05:30
parent 163bcb9786
commit fa1757e70a
+5 -7
View File
@@ -41,20 +41,18 @@
- name: add ansible-pull cron job - name: add ansible-pull cron job
cron: cron:
name: ansible auto-provision name: ansible auto-provision
become: true minute: "*/10"
minute: "*/1"
user: root user: root
job: "ansible-pull -o -U https://git.bitsathy.ac.in/ShankarMounesh/" job: "ansible-pull -o -U https://git.bitsathy.ac.in/ShankarMounesh/"
- name: add reboot cronjob - name: add reboot cronjob
cron: cron:
name: reboot machine every sunday name: reboot machine every sunday
become: true minute: "*/8"
minute: "30" # hour: "1"
hour: "1" # weekday: "0"
weekday: "0"
user: root user: root
job: "/usr/sbin/reboot" job: "reboot"