commit
This commit is contained in:
+5
-7
@@ -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"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user