From 41cb25b82b7ccadc2a2325700bd0eee1c6379741 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Sun, 15 Mar 2020 04:55:40 -0500 Subject: [PATCH] say as I do --- scripts/ansible | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/ansible b/scripts/ansible index 22a947852..39c20377d 100755 --- a/scripts/ansible +++ b/scripts/ansible @@ -64,11 +64,10 @@ elif [ -f /etc/centos-release ]; then #elif [ -f /etc/debian_version ] || (grep -qi raspbian /etc/*elease) ; then #elif [ ! -f /etc/centos-release ] && [ ! -f /etc/fedora-release ] && [ ! -f /etc/olpc-release ]; then elif [ -f /etc/debian_version ]; then # Includes Debian, Ubuntu & Raspbian - - echo -e "\napt update; install dirmngr; PPA to /etc/apt/sources.list.d/iiab-ansible.list\n" - apt update IS_U20=`cat /etc/os-release | grep UBUNTU_CODENAME= | awk -F "=" '{print $2}'` if [ "$IS_20" != "focal" ]; then + echo -e "\napt update; install dirmngr; PPA to /etc/apt/sources.list.d/iiab-ansible.list\n" + apt update apt -y install dirmngr echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu bionic main" \ > /etc/apt/sources.list.d/iiab-ansible.list