„raspi.sh“ ändern
This commit is contained in:
parent
7fc9204d81
commit
2008ed4790
7
raspi.sh
7
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
|
||||
|
Loading…
Reference in New Issue
Block a user