Add dist-upgrade in Debian upgrade cmd and rename host template

This commit is contained in:
Nemo 2020-07-10 20:06:44 +02:00
parent 6a2097329e
commit 1acf3a920b
3 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ cron_package: cron
sudo_group: sudo
# Command to run to execute a Debian update
cron_upgrade_job: export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin; export TERM=rxvt-unicode-256color; apt-get -q update && apt-get -q -y upgrade && apt-get -q -y autoremove
cron_upgrade_job: export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin; export TERM=rxvt-unicode-256color; apt-get -q update && apt-get -q -y upgrade && apt-get -q -y dist-upgrade && apt-get -q -y autoremove
# Tools to install on Debian hosts
tools_package:

View file

@ -16,4 +16,4 @@ cron_service_name: cron
cron_package: cron
# Default upgrade task configured for Debian
cron_upgrade_job: export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin; export TERM=rxvt-unicode-256color; apt-get -q update && apt-get -q -y upgrade && apt-get -q -y autoremove
cron_upgrade_job: export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin; export TERM=rxvt-unicode-256color; apt-get -q update && apt-get -q -y upgrade && apt-get -q -y dist-upgrade && apt-get -q -y autoremove