diff --git a/raspi.sh b/raspi.sh index e531a5c..42ea3b1 100644 --- a/raspi.sh +++ b/raspi.sh @@ -4,9 +4,9 @@ #sudo apt-get -yy dist-upgrade # install ansible -which pip >/dev/null 2>&1 || ( sudo apt-get -yy install python3-pip ) -which git >/dev/null 2>&1 || ( sudo apt-get -yy install git ) -which ansible >/dev/null 2>&1 || ( sudo apt-get -yy install ansible ; sudo pip install ansible ; sudo apt-get -yy remove --purge ansible) +which pip >/dev/null 2>&1 || ( sudo DEBIAN_FRONTEND=noninteractive apt-get -yy install python3-pip ) +which git >/dev/null 2>&1 || ( sudo DEBIAN_FRONTEND=noninteractive apt-get -yy install git ) +which ansible >/dev/null 2>&1 || ( sudo DEBIAN_FRONTEND=noninteractive apt-get -yy install ansible ; sudo pip install ansible ; sudo DEBIAN_FRONTEND=noninteractive apt-get -yy remove --purge ansible) # run ansible playbooks for playbook in debian.ansible.basics \