„raspi.sh“ hinzufügen
This commit is contained in:
parent
90efec1348
commit
6d36d6f88c
30
raspi.sh
Normal file
30
raspi.sh
Normal file
@ -0,0 +1,30 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
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
|
||||
|
||||
# run ansible playbooks
|
||||
for playbook in debian.ansible.basics \
|
||||
gtc-rename \
|
||||
gtc-crypt \
|
||||
debian.ansible.docker \
|
||||
debian.ansible.firewall \
|
||||
debian.ansible.kodi
|
||||
do
|
||||
sudo rm -rf ${playbook}
|
||||
git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git
|
||||
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*.yml
|
||||
sudo rm -rf ${playbook}
|
||||
done
|
Loading…
Reference in New Issue
Block a user