„raspi.sh“ ändern
This commit is contained in:
parent
5335dd625d
commit
1c408adf51
4
raspi.sh
4
raspi.sh
@ -4,9 +4,9 @@
|
|||||||
#sudo apt-get -yy dist-upgrade
|
#sudo apt-get -yy dist-upgrade
|
||||||
|
|
||||||
# install ansible
|
# install ansible
|
||||||
which pip >/dev/null 2>&1 || ( sudo DEBIAN_FRONTEND=noninteractive apt-get -yy install python3-pip )
|
|
||||||
which git >/dev/null 2>&1 || ( sudo DEBIAN_FRONTEND=noninteractive apt-get -yy install git )
|
which git >/dev/null 2>&1 || ( sudo DEBIAN_FRONTEND=noninteractive apt-get -yy install git )
|
||||||
which ansible >/dev/null 2>&1 || ( sudo DEBIAN_FRONTEND=noninteractive apt-get -yy install ansible ; sudo pip install ansible ; sudo DEBIAN_FRONTEND=noninteractive apt-get -yy remove --purge ansible)
|
which ansible >/dev/null 2>&1 || ( sudo DEBIAN_FRONTEND=noninteractive apt-get -yy install ansible ; sudo pip3 install ansible ; sudo DEBIAN_FRONTEND=noninteractive apt-get -yy remove --purge ansible)
|
||||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -yy install python3-yaml
|
sudo DEBIAN_FRONTEND=noninteractive apt-get -yy install python3-yaml
|
||||||
|
|
||||||
# run ansible playbooks
|
# run ansible playbooks
|
||||||
|
Loading…
Reference in New Issue
Block a user