„raspi.sh“ ändern
This commit is contained in:
6
raspi.sh
6
raspi.sh
@@ -4,9 +4,9 @@ set -e
|
|||||||
set -x
|
set -x
|
||||||
|
|
||||||
# install ansible
|
# install ansible
|
||||||
which pip || ( sudo apt-get update ; sudo apt-get -y dist-upgrade ; sudo apt-get -y install python3-pip )
|
which pip >/dev/null 2>&1 || ( sudo apt-get update ; 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 git >/dev/null 2>&1 || ( sudo apt-get update ; sudo apt-get -y install git )
|
||||||
which ansible || sudo pip install ansible
|
which ansible >/dev/null 2>&1 || sudo pip install ansible
|
||||||
|
|
||||||
# run ansible playbooks
|
# run ansible playbooks
|
||||||
for playbook in debian.ansible.basics \
|
for playbook in debian.ansible.basics \
|
||||||
|
|||||||
Reference in New Issue
Block a user