„raspi.sh“ ändern
This commit is contained in:
parent
65b2f62483
commit
4138a75d06
13
raspi.sh
13
raspi.sh
@ -3,17 +3,10 @@
|
||||
set -e
|
||||
set -x
|
||||
|
||||
# systemupdate
|
||||
sudo apt-get update
|
||||
sudo apt-get -y dist-upgrade
|
||||
|
||||
# install ansible
|
||||
sudo apt-get -y install python3-pip git
|
||||
sudo pip install ansible
|
||||
|
||||
# install mscore fonts
|
||||
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
|
||||
sudo apt-get -y install ttf-mscorefonts-installer
|
||||
which pip || ( sudo apt-get update ; sudo apt-get -y dist-upgrade ; sudo apt-get -y install python3-pip )
|
||||
which git || ( sudo apt-get update ; sudo apt-get -y dist-upgrade ; sudo apt-get -y install git )
|
||||
which ansible || sudo pip install ansible
|
||||
|
||||
# run ansible playbooks
|
||||
for playbook in debian.ansible.basics \
|
||||
|
Loading…
Reference in New Issue
Block a user