From 21d98ab4154322b77bf10ab9b4dcd08be2f1f870 Mon Sep 17 00:00:00 2001 From: olli Date: Thu, 15 Dec 2022 18:36:47 +0100 Subject: [PATCH] complicate ansible install --- raspi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raspi.sh b/raspi.sh index e6b2ad6..e531a5c 100644 --- a/raspi.sh +++ b/raspi.sh @@ -6,7 +6,7 @@ # 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 pip install ansible +which ansible >/dev/null 2>&1 || ( sudo apt-get -yy install ansible ; sudo pip install ansible ; sudo apt-get -yy remove --purge ansible) # run ansible playbooks for playbook in debian.ansible.basics \