ansible-playbooks/ubuntu/roles/apt-maintenance/files/apt-maintenance.sh

9 lines
165 B
Bash
Raw Normal View History

2019-07-08 00:00:42 +00:00
#!/usr/bin/env bash
MAILTO="s+cron@sadiqs.com"
2019-07-08 00:00:42 +00:00
# Update repositories
apt-get update
# Update packages
apt-get -y upgrade
# Autoremove packages
apt-get -y autoremove