diff --git a/raspi.sh b/raspi.sh index b1cf921..df0d230 100644 --- a/raspi.sh +++ b/raspi.sh @@ -1,8 +1,11 @@ #!/bin/bash +sudo apt-get update +sudo apt-get -yy dist-upgrade + # install ansible -which pip >/dev/null 2>&1 || ( sudo apt-get update ; sudo apt-get -y install python3-pip ) -which git >/dev/null 2>&1 || ( sudo apt-get update ; sudo apt-get -y install git ) +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 pip install ansible # run ansible playbooks