„raspi.sh“ ändern
This commit is contained in:
parent
3c2105ee3b
commit
09211b5a32
6
raspi.sh
6
raspi.sh
@ -4,9 +4,9 @@ set -e
|
||||
set -x
|
||||
|
||||
# install ansible
|
||||
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
|
||||
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 ansible >/dev/null 2>&1 || sudo pip install ansible
|
||||
|
||||
# run ansible playbooks
|
||||
for playbook in debian.ansible.basics \
|
||||
|
Loading…
Reference in New Issue
Block a user