From f9ddfd28e6bbda4dab25628db7ed22421eafcbbb Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 15 Sep 2020 15:32:25 -0400 Subject: [PATCH] Explain /etc/apt/sources.list.d/iiab-ansible.list vs. automated approach (add-apt-repository) --- scripts/ansible | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ansible b/scripts/ansible index 03702a861..57fe03698 100755 --- a/scripts/ansible +++ b/scripts/ansible @@ -61,13 +61,13 @@ fi echo -e "\napt update; install dirmngr; PPA to /etc/apt/sources.list.d/iiab-ansible.list\n" $APT_PATH/apt update $APT_PATH/apt -y install dirmngr +echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu bionic main" \ + > /etc/apt/sources.list.d/iiab-ansible.list # In future we might instead consider 'add-apt-repository ppa:ansible/ansible' # or 'apt-add-repository ppa:ansible/bionic/ansible' etc, e.g. for streamlined # removal using 'apt-add-repository -r' -- however that currently requires # 'apt install software-properties-common' which drags in a dozen packages we # might not want, e.g. unattended-upgrades, packagekit etc. -echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu bionic main" \ - > /etc/apt/sources.list.d/iiab-ansible.list # 2020-08-20: TEMP WORKAROUND (REVERT TO ANSIBLE 2.9.6) MITIGATING # iiab/iiab#2481 (Ansible 2.9.12 and 2.10.0's 666-TO-600 file permissions