apt noninteractive
This commit is contained in:
parent
58d236cfa0
commit
230583642d
6
raspi.sh
6
raspi.sh
@ -4,9 +4,9 @@
|
||||
#sudo apt-get -yy dist-upgrade
|
||||
|
||||
# install ansible
|
||||
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 apt-get -yy install ansible ; sudo pip install ansible ; sudo apt-get -yy remove --purge 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 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)
|
||||
|
||||
# run ansible playbooks
|
||||
for playbook in debian.ansible.basics \
|
||||
|
Loading…
Reference in New Issue
Block a user