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