From 400742001d953457a9791182c44dcde0b0ab29e8 Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 15 Oct 2019 17:45:02 -0400 Subject: [PATCH 01/14] Recommend Ansible 2.9.0 --- scripts/ansible | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ansible b/scripts/ansible index a496e944c..b1f545e61 100755 --- a/scripts/ansible +++ b/scripts/ansible @@ -1,13 +1,13 @@ #!/bin/bash -e CURR_VER="undefined" # Ansible version you currently have installed -GOOD_VER="2.8.5" # For XO laptops (pip install) & CentOS (yum install rpm) +GOOD_VER="2.9.0" # For XO laptops (pip install) & CentOS (yum install rpm) # On other OS's we attempt the latest from PPA, which might be more recent export DEBIAN_FRONTEND=noninteractive echo -e "\n\nYOU ARE RUNNING: /opt/iiab/iiab/scripts/ansible (TO INSTALL ANSIBLE)" -echo -e 'Alternative: /opt/iiab/iiab/scripts/ansible-2.7.x ("Slow Food")\n' +echo -e 'Alternative: /opt/iiab/iiab/scripts/ansible-2.8.x ("Slow Food")\n' echo -e "RECOMMENDED PREREQUISITES:" echo -e "(1) Verify you're online" From 09fdba3ed1beda6af0c54b1c97b93cd9d00535bc Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 15 Oct 2019 17:46:20 -0400 Subject: [PATCH 02/14] Update and rename ansible-2.8.x to ansible-2.9.x --- scripts/{ansible-2.8.x => ansible-2.9.x} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename scripts/{ansible-2.8.x => ansible-2.9.x} (97%) diff --git a/scripts/ansible-2.8.x b/scripts/ansible-2.9.x similarity index 97% rename from scripts/ansible-2.8.x rename to scripts/ansible-2.9.x index e9d8c0c95..aa93e7f86 100755 --- a/scripts/ansible-2.8.x +++ b/scripts/ansible-2.9.x @@ -1,12 +1,12 @@ #!/bin/bash -e CURR_VER="undefined" # Ansible version you currently have installed -GOOD_VER="2.8.5" # For XO laptops (pip install) & CentOS (yum install rpm) +GOOD_VER="2.9.0" # For XO laptops (pip install) & CentOS (yum install rpm) # On other OS's we attempt the latest from PPA, which might be more recent export DEBIAN_FRONTEND=noninteractive -echo -e "\n\nYOU ARE RUNNING: /opt/iiab/iiab/scripts/ansible-2.8.x (TO INSTALL ANSIBLE)" +echo -e "\n\nYOU ARE RUNNING: /opt/iiab/iiab/scripts/ansible-2.9.x (TO INSTALL ANSIBLE)" echo -e 'Alternative: /opt/iiab/iiab/scripts/ansible ("for the very latest Ansible")\n' echo -e "RECOMMENDED PREREQUISITES:" From 05e3dad352d1137cbc3b604380f2835ee6343c6c Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 15 Oct 2019 17:47:03 -0400 Subject: [PATCH 03/14] Update and rename ansible-2.7.x to ansible-2.8.x --- scripts/{ansible-2.7.x => ansible-2.8.x} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename scripts/{ansible-2.7.x => ansible-2.8.x} (97%) diff --git a/scripts/ansible-2.7.x b/scripts/ansible-2.8.x similarity index 97% rename from scripts/ansible-2.7.x rename to scripts/ansible-2.8.x index 81c8141b6..60b673f02 100755 --- a/scripts/ansible-2.7.x +++ b/scripts/ansible-2.8.x @@ -1,12 +1,12 @@ #!/bin/bash -e CURR_VER="undefined" # Ansible version you currently have installed -GOOD_VER="2.7.13" # For XO laptops (pip install) & CentOS (yum install rpm) +GOOD_VER="2.8.5" # For XO laptops (pip install) & CentOS (yum install rpm) # On other OS's we attempt the latest from PPA, which might be more recent export DEBIAN_FRONTEND=noninteractive -echo -e "\n\nYOU ARE RUNNING: /opt/iiab/iiab/scripts/ansible-2.7.x (TO INSTALL ANSIBLE)" +echo -e "\n\nYOU ARE RUNNING: /opt/iiab/iiab/scripts/ansible-2.8.x (TO INSTALL ANSIBLE)" echo -e 'Alternative: /opt/iiab/iiab/scripts/ansible ("for the very latest Ansible")\n' echo -e "RECOMMENDED PREREQUISITES:" From 00ae136dc020511b72c8d6f1981a2f93dbe267bb Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 15 Oct 2019 17:57:45 -0400 Subject: [PATCH 04/14] Update ansible-2.8.x --- scripts/ansible-2.8.x | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ansible-2.8.x b/scripts/ansible-2.8.x index 60b673f02..e15a4ee8d 100755 --- a/scripts/ansible-2.8.x +++ b/scripts/ansible-2.8.x @@ -68,7 +68,7 @@ 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 apt -y install dirmngr # Raspbian needs. Formerly: python-pip python-setuptools python-wheel patch - echo "deb http://ppa.launchpad.net/ansible/ansible-2.7/ubuntu xenial main" \ + echo "deb http://ppa.launchpad.net/ansible/ansible-2.8/ubuntu bionic main" \ > /etc/apt/sources.list.d/iiab-ansible.list echo -e '\nIF YOU FACE ERROR "signatures couldn'"'"'t be verified because the public key is not available" THEN REPEATEDLY RE-RUN "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367"\n' @@ -88,7 +88,7 @@ elif [ -f /etc/debian_version ]; then # Includes Debian, Ubuntu & Raspbian #wget http://download.iiab.io/packages/ansible_2.4.2.0-1ppa~xenial_all.deb #apt -y --allow-downgrades install ./ansible_2.4.2.0-1ppa~xenial_all.deb - echo -e 'PPA source "deb http://ppa.launchpad.net/ansible/ansible-2.7/ubuntu xenial main"' + echo -e 'PPA source "deb http://ppa.launchpad.net/ansible/ansible-2.8/ubuntu bionic main"' echo -e "successfully saved to /etc/apt/sources.list.d/iiab-ansible.list\n" echo -e "IF *OTHER* ANSIBLE SOURCES APPEAR BELOW, PLEASE MANUALLY REMOVE THEM TO" From 82d5362f502fcd9933648e61b75b94d57ff4741c Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 15 Oct 2019 17:58:49 -0400 Subject: [PATCH 05/14] Update ansible-2.9.x --- scripts/ansible-2.9.x | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ansible-2.9.x b/scripts/ansible-2.9.x index aa93e7f86..162f19cde 100755 --- a/scripts/ansible-2.9.x +++ b/scripts/ansible-2.9.x @@ -68,7 +68,7 @@ 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 apt -y install dirmngr # Raspbian needs. Formerly: python-pip python-setuptools python-wheel patch - echo "deb http://ppa.launchpad.net/ansible/ansible-2.8/ubuntu xenial main" \ + echo "deb http://ppa.launchpad.net/ansible/ansible-2.9/ubuntu bionic main" \ > /etc/apt/sources.list.d/iiab-ansible.list echo -e '\nIF YOU FACE ERROR "signatures couldn'"'"'t be verified because the public key is not available" THEN REPEATEDLY RE-RUN "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367"\n' @@ -88,7 +88,7 @@ elif [ -f /etc/debian_version ]; then # Includes Debian, Ubuntu & Raspbian #wget http://download.iiab.io/packages/ansible_2.4.2.0-1ppa~xenial_all.deb #apt -y --allow-downgrades install ./ansible_2.4.2.0-1ppa~xenial_all.deb - echo -e 'PPA source "deb http://ppa.launchpad.net/ansible/ansible-2.8/ubuntu xenial main"' + echo -e 'PPA source "deb http://ppa.launchpad.net/ansible/ansible-2.9/ubuntu bionic main"' echo -e "successfully saved to /etc/apt/sources.list.d/iiab-ansible.list\n" echo -e "IF *OTHER* ANSIBLE SOURCES APPEAR BELOW, PLEASE MANUALLY REMOVE THEM TO" From 942f0f72335d9d5fb286e8d1f6b0bb1eb4f6c4df Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 15 Oct 2019 18:00:13 -0400 Subject: [PATCH 06/14] Update scripts/ansible from "xenial" to "bionic" PPA's --- scripts/ansible | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ansible b/scripts/ansible index b1f545e61..e6b2bfe73 100755 --- a/scripts/ansible +++ b/scripts/ansible @@ -68,7 +68,7 @@ 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 apt -y install dirmngr # Raspbian needs. Formerly: python-pip python-setuptools python-wheel patch - echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main" \ + echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu bionic main" \ > /etc/apt/sources.list.d/iiab-ansible.list echo -e '\nIF YOU FACE ERROR "signatures couldn'"'"'t be verified because the public key is not available" THEN REPEATEDLY RE-RUN "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367"\n' @@ -88,7 +88,7 @@ elif [ -f /etc/debian_version ]; then # Includes Debian, Ubuntu & Raspbian #wget http://download.iiab.io/packages/ansible_2.4.2.0-1ppa~xenial_all.deb #apt -y --allow-downgrades install ./ansible_2.4.2.0-1ppa~xenial_all.deb - echo -e 'PPA source "deb http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main"' + echo -e 'PPA source "deb http://ppa.launchpad.net/ansible/ansible/ubuntu bionic main"' echo -e "successfully saved to /etc/apt/sources.list.d/iiab-ansible.list\n" echo -e "IF *OTHER* ANSIBLE SOURCES APPEAR BELOW, PLEASE MANUALLY REMOVE THEM TO" From fec47ab1997ffd2b7978eff6a8b8e94e257f044e Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 16 Oct 2019 05:15:32 -0400 Subject: [PATCH 07/14] MIN_ANSIBLE_VER=2.8.5 (was 2.6.16) --- iiab-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iiab-install b/iiab-install index adbbf69b7..1026713a8 100755 --- a/iiab-install +++ b/iiab-install @@ -10,7 +10,7 @@ CWD=`pwd` OS=`grep ^ID= /etc/*release|cut -d= -f2` OS=${OS//\"/} MIN_RPI_KERN=4.9.59-v7+ -MIN_ANSIBLE_VER=2.6.16 +MIN_ANSIBLE_VER=2.8.5 if [ ! -f /etc/iiab/local_vars.yml ]; then From 95fb8dfa860a40b9438c683d40ccbde6fb24cc23 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 17 Oct 2019 18:26:23 -0400 Subject: [PATCH 08/14] MIN_ANSIBLE_VER=2.8.6 --- iiab-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iiab-install b/iiab-install index 1026713a8..04d6a3d77 100755 --- a/iiab-install +++ b/iiab-install @@ -10,7 +10,7 @@ CWD=`pwd` OS=`grep ^ID= /etc/*release|cut -d= -f2` OS=${OS//\"/} MIN_RPI_KERN=4.9.59-v7+ -MIN_ANSIBLE_VER=2.8.5 +MIN_ANSIBLE_VER=2.8.6 if [ ! -f /etc/iiab/local_vars.yml ]; then From 4106e37e0d62508f6671555d21a52f6cdfcfa2a8 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 17 Oct 2019 18:27:42 -0400 Subject: [PATCH 09/14] GOOD_VER="2.8.6" --- scripts/ansible-2.8.x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ansible-2.8.x b/scripts/ansible-2.8.x index e15a4ee8d..6e314d998 100755 --- a/scripts/ansible-2.8.x +++ b/scripts/ansible-2.8.x @@ -1,7 +1,7 @@ #!/bin/bash -e CURR_VER="undefined" # Ansible version you currently have installed -GOOD_VER="2.8.5" # For XO laptops (pip install) & CentOS (yum install rpm) +GOOD_VER="2.8.6" # For XO laptops (pip install) & CentOS (yum install rpm) # On other OS's we attempt the latest from PPA, which might be more recent export DEBIAN_FRONTEND=noninteractive From 83e8c6cc4a40877d949061e7985d314e1f680fa9 Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 18 Oct 2019 15:37:05 -0400 Subject: [PATCH 10/14] MIN_ANSIBLE_VER=2.8.7 due to 2.8.6 lineinfile bug? --- iiab-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iiab-install b/iiab-install index 04d6a3d77..c94bb5fec 100755 --- a/iiab-install +++ b/iiab-install @@ -10,7 +10,7 @@ CWD=`pwd` OS=`grep ^ID= /etc/*release|cut -d= -f2` OS=${OS//\"/} MIN_RPI_KERN=4.9.59-v7+ -MIN_ANSIBLE_VER=2.8.6 +MIN_ANSIBLE_VER=2.8.7 if [ ! -f /etc/iiab/local_vars.yml ]; then From 8a46a5bd01d0f3eeb39add1270c3b867301c1379 Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 18 Oct 2019 15:38:02 -0400 Subject: [PATCH 11/14] GOOD_VER="2.8.7" due to 2.8.6 lineinfile bug? --- scripts/ansible-2.8.x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ansible-2.8.x b/scripts/ansible-2.8.x index 6e314d998..921a13323 100755 --- a/scripts/ansible-2.8.x +++ b/scripts/ansible-2.8.x @@ -1,7 +1,7 @@ #!/bin/bash -e CURR_VER="undefined" # Ansible version you currently have installed -GOOD_VER="2.8.6" # For XO laptops (pip install) & CentOS (yum install rpm) +GOOD_VER="2.8.7" # For XO laptops (pip install) & CentOS (yum install rpm) # On other OS's we attempt the latest from PPA, which might be more recent export DEBIAN_FRONTEND=noninteractive From 455ebffac03c22c26e3d2c1fabb532d6eba9db8c Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 23 Oct 2019 17:41:39 -0400 Subject: [PATCH 12/14] Ansible 2.7.14 as mandatory min (despite serious flaws in 2.8.3 & 2.8.6 !) --- iiab-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iiab-install b/iiab-install index c94bb5fec..fe57769e9 100755 --- a/iiab-install +++ b/iiab-install @@ -10,7 +10,7 @@ CWD=`pwd` OS=`grep ^ID= /etc/*release|cut -d= -f2` OS=${OS//\"/} MIN_RPI_KERN=4.9.59-v7+ -MIN_ANSIBLE_VER=2.8.7 +MIN_ANSIBLE_VER=2.7.14 if [ ! -f /etc/iiab/local_vars.yml ]; then From c4e3ba7eeea1863163547cfae85760ca95b10654 Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 23 Oct 2019 17:49:16 -0400 Subject: [PATCH 13/14] Reminder...to update MIN_RPI_KERN=4.9.59-v7+ soon! --- iiab-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iiab-install b/iiab-install index fe57769e9..b3d0c3578 100755 --- a/iiab-install +++ b/iiab-install @@ -9,7 +9,7 @@ ARGS="" CWD=`pwd` OS=`grep ^ID= /etc/*release|cut -d= -f2` OS=${OS//\"/} -MIN_RPI_KERN=4.9.59-v7+ +MIN_RPI_KERN=4.9.59-v7+ # UPDATE THIS SOON...when serious Oct 2019 Raspbian kernel fix (https://github.com/iiab/iiab/issues/1993 etc) is finally mainlined! MIN_ANSIBLE_VER=2.7.14 if [ ! -f /etc/iiab/local_vars.yml ]; then From b7a2fc31f4623b5e2b14cf4b421fa8cdec568ebf Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 23 Oct 2019 17:52:43 -0400 Subject: [PATCH 14/14] Kernel fix verbiage --- iiab-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iiab-install b/iiab-install index b3d0c3578..6b9e0622e 100755 --- a/iiab-install +++ b/iiab-install @@ -9,7 +9,7 @@ ARGS="" CWD=`pwd` OS=`grep ^ID= /etc/*release|cut -d= -f2` OS=${OS//\"/} -MIN_RPI_KERN=4.9.59-v7+ # UPDATE THIS SOON...when serious Oct 2019 Raspbian kernel fix (https://github.com/iiab/iiab/issues/1993 etc) is finally mainlined! +MIN_RPI_KERN=4.9.59-v7+ # UPDATE THIS SOON...when Raspbian's Oct 2019 kernels are finally fixed (https://github.com/iiab/iiab/issues/1993 etc) MIN_ANSIBLE_VER=2.7.14 if [ ! -f /etc/iiab/local_vars.yml ]; then