This commit is contained in:
Shankar Mounesh
2022-06-12 20:46:58 +05:30
parent f2c302b891
commit 163bcb9786
+14 -11
View File
@@ -34,19 +34,10 @@
apt: apt:
name: vim-nox name: vim-nox
state: absent state: absent
- name: dist upgrade - name: dist upgrade
apt: upgrade=dist 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 - name: add ansible-pull cron job
cron: cron:
name: ansible auto-provision name: ansible auto-provision
@@ -55,3 +46,15 @@
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
cron:
name: reboot machine every sunday
become: true
minute: "30"
hour: "1"
weekday: "0"
user: root
job: "/usr/sbin/reboot"