apt noninteractive

This commit is contained in:
olli 2022-12-23 14:57:17 +01:00
parent 58d236cfa0
commit 230583642d

View File

@ -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 \