diff --git a/iiab-install b/iiab-install index 43851997c..baa40c55c 100755 --- a/iiab-install +++ b/iiab-install @@ -9,8 +9,8 @@ ARGS="" CWD=`pwd` OS=`grep ^ID= /etc/*release|cut -d= -f2` OS=${OS//\"/} -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.9.0 +MIN_RPI_KERN=4.19.79 # Can be further updated if necessary, when Raspbian's Oct 2019 kernels are more officially fixed such that running 'rpi-update' will no longer be nec soon, see: https://github.com/iiab/iiab/issues/1993 +MIN_ANSIBLE_VER=2.8.7 # Ansible 2.8.3 and 2.8.6 have serious bugs, preventing their use with IIAB. if [ ! -f /etc/iiab/local_vars.yml ]; then diff --git a/roles/2-common/tasks/packages.yml b/roles/2-common/tasks/packages.yml index 89b3bad4e..35f55f499 100644 --- a/roles/2-common/tasks/packages.yml +++ b/roles/2-common/tasks/packages.yml @@ -63,3 +63,10 @@ - usbutils - wget state: present + +# 2019-10-31: roles/kalite crashed without the following python-virtualenv -- weirdly python3-virtualenv was installed on Raspbian (not sure why) but insufficient +- name: Install package python-virtualenv for KA Lite and Calibre-Web, on older OS's (raspbian-9, raspbian-10, debian-9, debian-10, ubuntu-16, ubuntu-18) + package: + name: python-virtualenv + state: present + when: is_raspbian_9 or is_raspbian_10 or is_debian_9 or is_debian_10 or is_ubuntu_16 or is_ubuntu_18 diff --git a/roles/mysql/tasks/main.yml b/roles/mysql/tasks/main.yml index 966148a22..254c29bfc 100644 --- a/roles/mysql/tasks/main.yml +++ b/roles/mysql/tasks/main.yml @@ -69,7 +69,7 @@ path: /lib/systemd/system/mariadb.service register: mariadb_unit_file -- name: Copy pkg's /lib/systemd/system/mariadb.service to /etc/systemd/system/ to be customized (CREATES TIMETAMPED BACKUPS OF /etc/systemd/system/mariadb.service e.g. IF OPERATOR CUSTOMIZED IT, EVEN DESPITE WARNING BELOW!) +- name: Copy pkg's /lib/systemd/system/mariadb.service to /etc/systemd/system/ to be customized (CREATES TIMESTAMPED BACKUPS OF /etc/systemd/system/mariadb.service e.g. IF OPERATOR CUSTOMIZED IT, EVEN DESPITE WARNING BELOW!) copy: force: yes backup: yes