Ensure DEBIAN_FRONTEND is noninteractive
This commit is contained in:
parent
4ccc23bd85
commit
b4e9ed5d39
|
@ -3,6 +3,8 @@
|
|||
# dpkg-cleanup.sh - Remove obsolete packages and config files
|
||||
# {{ ansible_managed }}
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Phase 1 - purge `rc` packages
|
||||
PACKAGE_LIST=( $( dpkg --list | awk '/^rc/{ print $2 } /^ri/{ print $2 }' ) )
|
||||
apt purge -y ${PACKAGE_LIST[@]}
|
||||
|
|
Loading…
Reference in New Issue