added autoremove and autoremove settings
This commit is contained in:
+8
-10
@@ -23,12 +23,10 @@
|
||||
tasks:
|
||||
|
||||
- name: update package cache
|
||||
apt: update_cache=yes
|
||||
|
||||
- name: remove vim-nox
|
||||
apt:
|
||||
name: vim-nox
|
||||
state: absent
|
||||
- update_cache=yes
|
||||
- autoremove=yes
|
||||
- autoclean=yes
|
||||
|
||||
- name: dist upgrade
|
||||
apt: upgrade=dist
|
||||
@@ -36,18 +34,18 @@
|
||||
- name: add ansible-pull cron job
|
||||
cron:
|
||||
name: ansible auto-provision
|
||||
minute: "*/10"
|
||||
minute: "15"
|
||||
hour: "1"
|
||||
user: root
|
||||
job: "ansible-pull -o -U https://git.bitsathy.ac.in/ShankarMounesh/ansible-proxmox.git proxmox.yml"
|
||||
|
||||
- name: add reboot cronjob
|
||||
cron:
|
||||
name: reboot machine every sunday
|
||||
minute: "*/8"
|
||||
# hour: "1"
|
||||
# weekday: "0"
|
||||
minute: "*/5"
|
||||
# hour: "2"
|
||||
user: root
|
||||
job: "/usr/sbin/reboot"
|
||||
job: "reboot"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user