ansible-playbooks/ubuntu/roles/apt-maintenance/files/apt-maintenance.sh
2019-07-10 10:13:44 -04:00

9 lines
165 B
Bash

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